<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>金铲铲之战运营教学 - 专业攻略指南</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    <script>
      tailwind.config = {
        theme: {
          extend: {
            colors: {
              primary: '#E6B325', // 金色
              secondary: '#5D4037', // 棕色
              accent: '#FF5722', // 橙色
              dark: '#1A1A1A',
              light: '#F5F5F5'
            },
            fontFamily: {
              sans: ['Inter', 'system-ui', 'sans-serif'],
            },
          },
        }
      }
    </script>
    <style type="text/tailwindcss">
      @layer utilities {
        .content-auto {
          content-visibility: auto;
        }
        .text-shadow {
          text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        .bg-glass {
          background: rgba(255, 255, 255, 0.8);
          backdrop-filter: blur(8px);
        }
        .hover-scale {
          transition: transform 0.3s ease;
        }
        .hover-scale:hover {
          transform: scale(1.05);
        }
        .nav-link {
          @apply relative px-3 py-2 text-gray-700 hover:text-primary transition-colors duration-300;
        }
        .nav-link::after {
          @apply absolute bottom-0 left-0 w-0 h-0.5 bg-primary transition-all duration-300 content-[''];
        }
        .nav-link:hover::after {
          @apply w-full;
        }
        .section-title {
          @apply text-3xl md:text-4xl font-bold mb-8 text-primary relative inline-block;
        }
        .section-title::after {
          @apply absolute bottom-0 left-0 w-16 h-1 bg-secondary content-[''];
        }
      }
    </style>
  </head>
  <body class="bg-gray-50 text-gray-800">
    <!-- 顶部导航 -->
    <nav id="navbar" class="fixed w-full z-50 transition-all duration-300 bg-white/90 backdrop-blur-md shadow-md">
      <div class="container mx-auto px-4 py-3 flex justify-between items-center">
        <div class="flex items-center space-x-2">
          <i class="fa fa-shield text-2xl text-primary"></i>
          <span class="text-xl font-bold text-dark">金铲铲运营教学</span>
        </div>
        <!-- 桌面导航 -->
        <div class="hidden md:flex space-x-6">
          <a href="#intro" class="nav-link">游戏简介</a>
          <a href="#hero-tier" class="nav-link">英雄梯队</a>
          <a href="#item-guide" class="nav-link">装备合成</a>
          <a href="#strategy" class="nav-link">运营节奏</a>
          <a href="#lineups" class="nav-link">强力阵容</a>
          <a href="#faq" class="nav-link">常见问题</a>
          <a href="#premium" class="nav-link text-accent font-bold">高级会员</a>
          <div id="user-menu" class="relative nav-link bg-primary text-white rounded-lg px-4 hidden">
            <span id="username-display"></span>
            <i class="fa fa-user-circle ml-2"></i>
            <div id="logout-dropdown" class="absolute top-full right-0 mt-1 w-40 bg-white shadow-lg rounded-lg py-2 hidden z-50">
              <button id="logout-btn" class="w-full text-left px-4 py-2 text-gray-700 hover:bg-gray-100">
                <i class="fa fa-sign-out mr-2"></i>退出账户
              </button>
            </div>
          </div>
          <a href="jin-login.html" id="login-btn" class="nav-link bg-primary text-white rounded-lg px-4">登录</a>
        </div>
        <!-- 移动端菜单按钮 -->
        <button id="menu-toggle" class="md:hidden text-dark text-xl">
          <i class="fa fa-bars"></i>
        </button>
      </div>
      <!-- 移动端导航菜单 -->
      <div id="mobile-menu" class="hidden md:hidden bg-white shadow-lg">
        <div class="container mx-auto px-4 py-2 flex flex-col space-y-3">
            <a href="#intro" class="py-2 hover:text-primary">游戏简介</a>
            <a href="#hero-tier" class="py-2 hover:text-primary">英雄梯队</a>
            <a href="#item-guide" class="py-2 hover:text-primary">装备合成</a>
            <a href="#strategy" class="py-2 hover:text-primary">运营节奏</a>
            <a href="#lineups" class="py-2 hover:text-primary">强力阵容</a>
            <a href="#faq" class="py-2 hover:text-primary">常见问题</a>
            <a href="#premium" class="py-2 text-accent font-bold">高级会员</a>
            <div id="mobile-user-menu" class="py-2 text-primary font-bold hidden">
              <div class="flex justify-between items-center">
                <span id="mobile-username"></span>
                <button id="mobile-logout-btn" class="text-gray-600 hover:text-accent">
                  <i class="fa fa-sign-out"></i> 退出
                </button>
              </div>
            </div>
            <a href="jin-login.html" id="mobile-login-btn" class="py-2 text-primary font-bold">登录</a>
          </div>
      </div>
    </nav>
    
    <script>
      // 检查用户登录状态
      window.addEventListener('DOMContentLoaded', function() {
        const loggedInUser = localStorage.getItem('loggedInUser');
        
        if (loggedInUser) {
          // 显示用户名，隐藏登录按钮
          document.getElementById('username-display').textContent = loggedInUser;
          document.getElementById('user-menu').classList.remove('hidden');
          document.getElementById('login-btn').classList.add('hidden');
          
          // 移动端显示用户名
          document.getElementById('mobile-username').textContent = loggedInUser;
          document.getElementById('mobile-user-menu').classList.remove('hidden');
          document.getElementById('mobile-login-btn').classList.add('hidden');
        }
        
        // 桌面端退出功能
        const userMenu = document.getElementById('user-menu');
        const logoutDropdown = document.getElementById('logout-dropdown');
        const logoutBtn = document.getElementById('logout-btn');
        
        userMenu?.addEventListener('click', function(e) {
          e.stopPropagation();
          logoutDropdown.classList.toggle('hidden');
        });
        
        logoutBtn?.addEventListener('click', function(e) {
          e.stopPropagation();
          localStorage.removeItem('loggedInUser');
          window.location.href = 'jin-login.html';
        });
        
        // 点击页面其他地方关闭下拉菜单
        document.addEventListener('click', function() {
          if (logoutDropdown && !logoutDropdown.classList.contains('hidden')) {
            logoutDropdown.classList.add('hidden');
          }
        });
        
        // 移动端退出功能
        const mobileLogoutBtn = document.getElementById('mobile-logout-btn');
        mobileLogoutBtn?.addEventListener('click', function() {
          localStorage.removeItem('loggedInUser');
          window.location.href = 'jin-login.html';
        });
      });
    </script>

    <!-- 英雄区域 -->
    <header class="bg-gradient-to-b from-dark to-secondary pt-24 pb-16 relative overflow-hidden">
      <div class="absolute inset-0 opacity-20">
        <div class="absolute w-64 h-64 rounded-full bg-primary/50 blur-3xl -top-10 -left-10"></div>
        <div class="absolute w-96 h-96 rounded-full bg-accent/30 blur-3xl bottom-0 right-0"></div>
      </div>
      <div class="container mx-auto px-4 relative z-10">
        <div class="text-center">
          <h1 class="text-[clamp(2.5rem,6vw,4rem)] font-bold text-white mb-6 text-shadow">金铲铲之战<br/>专业运营教学</h1>
          <p class="text-xl md:text-2xl text-gray-200 mb-8 max-w-3xl mx-auto">从新手到大师的完全攻略指南，掌握最新版本强势阵容与运营技巧</p>
          <div class="flex flex-wrap justify-center gap-4">
            <a href="#lineups" class="px-8 py-3 bg-primary text-dark font-bold rounded-full hover:bg-primary/90 transition-all shadow-lg hover:shadow-primary/30 hover-scale">
              查看强势阵容
            </a>
            <a href="#strategy" class="px-8 py-3 bg-transparent border-2 border-white text-white font-bold rounded-full hover:bg-white/10 transition-all">
              学习运营技巧
            </a>
          </div>
        </div>
      </div>
    </header>

    <main class="container mx-auto px-4 py-12">
      <!-- 游戏简介 -->
      <section id="intro" class="mb-16">
        <h2 class="section-title">游戏简介</h2>
        <div class="grid md:grid-cols-2 gap-8 items-center">
          <div class="prose prose-lg max-w-none">
            <p class="text-gray-700 leading-relaxed">
              金铲铲之战是一款基于《英雄联盟》宇宙的自走棋策略游戏，玩家需要通过招募英雄、搭配装备、组成羁绊等方式打造强力阵容，击败其他7名玩家获得胜利。
            </p>
            <p class="text-gray-700 leading-relaxed mt-4">
              游戏的核心在于"运营"——通过合理的经济管理、英雄选择和装备分配，在不同阶段做出最优决策，最终构建出能够击败所有对手的完美阵容。
            </p>
            <div class="mt-6 flex flex-wrap gap-3">
              <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm font-medium">自走棋</span>
              <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm font-medium">策略</span>
              <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm font-medium">多人对战</span>
              <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm font-medium">英雄养成</span>
            </div>
          </div>
          <div class="rounded-2xl overflow-hidden shadow-2xl hover-scale">
            <div class="relative aspect-video bg-gradient-to-br from-primary/20 to-secondary/20">
              <div class="absolute inset-0 flex items-center justify-center">
                <div class="text-center p-6">
                  <i class="fa fa-gamepad text-8xl text-primary/70 mb-4"></i>
                  <p class="text-gray-600 font-medium">游戏主界面示意图</p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>

      <script>
        // 赛季切换功能
        document.addEventListener('DOMContentLoaded', function() {
          // 初始化图表
          initCharts();
          
              // 
              // 赛季功能已移除
              if (targetContent) {
                targetContent.style.display = 'block';
                
                // 如果是其他赛季，简单处理为显示提示（实际项目中可以加载对应赛季数据）
                // 赛季功能已移除
                  // 检查是否已有内容
                  if (targetContent.children.length <= 1) {
                    targetContent.innerHTML = `
                      <div class="text-center py-20">
                        <i class="fa fa-chart-line text-6xl text-primary/50 mb-6"></i>
                        <h3 class="text-2xl font-bold mb-4">该赛季数据加载中</h3>
                        <p class="text-gray-600 max-w-md mx-auto">
                          我们正在处理相关数据，
                          请稍后再试或切换到S9赛季查看示例数据。
                        </p>
                      </div>
                    `;
                  }
                }
              }
            });
          });
          
          // 标签页切换功能
          const tabBtns = document.querySelectorAll('.tab-btn');
          const tabContents = document.querySelectorAll('.tab-content');
          
          tabBtns.forEach(btn => {
            btn.addEventListener('click', function() {
              // 移除所有按钮的激活状态
              tabBtns.forEach(b => {
                b.classList.remove('active', 'bg-white', 'shadow-sm');
                b.classList.add('hover:bg-gray-100');
              });
              
              // 添加当前按钮的激活状态
              this.classList.add('active', 'bg-white', 'shadow-sm');
              this.classList.remove('hover:bg-gray-100');
              
              // 隐藏所有内容
              tabContents.forEach(content => {
                content.classList.add('hidden');
              });
              
              // 显示对应内容
              const tab = this.getAttribute('data-tab');
              const targetContent = document.getElementById(tab);
              if (targetContent) {
                targetContent.classList.remove('hidden');
                
                // 重新渲染图表以确保正确显示
                if (window.charts && window.charts[tab]) {
                  window.charts[tab].resize();
                }
              }
            });
          });
        });
        
        // 初始化图表
        function initCharts() {
          window.charts = {};
          
          // 设置Chart.js默认配置
          Chart.defaults.font.family = 'inherit';
          Chart.defaults.font.size = 14;
          Chart.defaults.color = '#6B7280';
          Chart.defaults.plugins.legend.labels.usePointStyle = true;
          
          // 英雄登顶率分布图表初始化代码已删除（赛季数据统计功能已移除）
          
          // 装备使用率对比图表
          const itemCtx = document.getElementById('itemUsageChart').getContext('2d');
          window.charts['item-stats'] = new Chart(itemCtx, {
            type: 'radar',
            data: {
              labels: ['巨杀', '无尽', '饮血', '科技枪', '法爆', '蓝BUFF', '反甲', '日炎'],
              datasets: [
                {
                  label: '使用率 (%)',
                  data: [45.2, 38.7, 34.5, 41.8, 36.2, 32.9, 28.7, 25.3],
                  backgroundColor: 'rgba(255, 107, 107, 0.2)',
                  borderColor: '#FF6B6B',
                  borderWidth: 2,
                  pointBackgroundColor: '#FF6B6B',
                  pointRadius: 4
                }
              ]
            },
            options: {
              responsive: true,
              maintainAspectRatio: false,
              plugins: {
                tooltip: {
                  backgroundColor: 'rgba(0, 0, 0, 0.8)',
                  padding: 12,
                  cornerRadius: 8
                }
              },
              scales: {
                r: {
                  beginAtZero: true,
                  max: 50,
                  grid: {
                    color: 'rgba(0, 0, 0, 0.05)'
                  },
                  ticks: {
                    stepSize: 10,
                    callback: function(value) {
                      return value + '%';
                    }
                  }
                }
              },
              animation: {
                duration: 1500,
                easing: 'easeOutQuart'
              }
            }
          });
          
          // 趋势分析图表
          const trendCtx = document.getElementById('trendAnalysisChart').getContext('2d');
          window.charts['trend-analysis'] = new Chart(trendCtx, {
            type: 'line',
            data: {
              labels: ['第1周', '第2周', '第3周', '第4周', '第5周', '第6周', '第7周', '第8周'],
              datasets: [
                {
                  label: '刺客登顶率',
                  data: [18, 22, 24, 27, 26, 28, 29, 31],
                  borderColor: '#FF6B6B',
                  backgroundColor: 'rgba(255, 107, 107, 0.1)',
                  tension: 0.4,
                  fill: true
                },
                {
                  label: '坦克登顶率',
                  data: [25, 23, 20, 18, 19, 17, 16, 15],
                  borderColor: '#4ECDC4',
                  backgroundColor: 'rgba(78, 205, 196, 0.1)',
                  tension: 0.4,
                  fill: true
                },
                {
                  label: '法师登顶率',
                  data: [22, 20, 21, 20, 22, 23, 22, 20],
                  borderColor: '#9C27B0',
                  backgroundColor: 'rgba(156, 39, 176, 0.1)',
                  tension: 0.4,
                  fill: true
                }
              ]
            },
            options: {
              responsive: true,
              maintainAspectRatio: false,
              plugins: {
                tooltip: {
                  backgroundColor: 'rgba(0, 0, 0, 0.8)',
                  padding: 12,
                  cornerRadius: 8,
                  mode: 'index',
                  intersect: false
                }
              },
              scales: {
                y: {
                  beginAtZero: true,
                  max: 40,
                  grid: {
                    color: 'rgba(0, 0, 0, 0.05)'
                  },
                  ticks: {
                    callback: function(value) {
                      return value + '%';
                    }
                  }
                },
                x: {
                  grid: {
                    display: false
                  }
                }
              },
              animation: {
                duration: 1500,
                easing: 'easeOutQuart'
              },
              interaction: {
                mode: 'index',
                intersect: false
              }
            }
          });
        }
        
        // 添加滚动时的动画效果
        document.addEventListener('DOMContentLoaded', function() {
          const observer = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
              if (entry.isIntersecting) {
                entry.target.classList.add('animate-fadeIn');
                observer.unobserve(entry.target);
              }
            });
          }, { threshold: 0.1 });
          
          // 观察所有卡片和图表容器
          document.querySelectorAll('.grid > div, .bg-white.p-6, .bg-white.p-4').forEach(el => {
            observer.observe(el);
          });
        });
      </script>

      <!-- 英雄梯队 -->
      <section id="hero-tier" class="mb-16">
        <h2 class="section-title">英雄梯队</h2>
        <p class="text-gray-600 mb-8 max-w-3xl">根据当前版本强度，我们将英雄分为不同梯队，帮助你在游戏中做出更明智的选择。</p>
        
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
          <!-- T1 梯队 -->
          <div class="bg-white rounded-xl shadow-lg overflow-hidden hover-scale">
            <div class="bg-primary text-white py-4 px-6">
              <div class="flex justify-between items-center">
                <h3 class="text-xl font-bold">T1 梯队</h3>
                <span class="px-3 py-1 bg-white text-primary rounded-full text-sm font-bold">最强选择</span>
              </div>
            </div>
            <div class="p-6">
              <ul class="space-y-3">
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-primary/10 text-primary rounded-full flex items-center justify-center font-bold">1</span>
                  <span class="font-medium">永恩</span>
                  <span class="ml-auto text-sm text-gray-500">5费 刺客/决斗大师</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-primary/10 text-primary rounded-full flex items-center justify-center font-bold">2</span>
                  <span class="font-medium">奥恩</span>
                  <span class="ml-auto text-sm text-gray-500">5费 约德尔人/铁匠</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-primary/10 text-primary rounded-full flex items-center justify-center font-bold">3</span>
                  <span class="font-medium">卡莎</span>
                  <span class="ml-auto text-sm text-gray-500">4费 虚空/挑战者</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-primary/10 text-primary rounded-full flex items-center justify-center font-bold">4</span>
                  <span class="font-medium">塔姆</span>
                  <span class="ml-auto text-sm text-gray-500">4费 比尔吉沃特/食神</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-primary/10 text-primary rounded-full flex items-center justify-center font-bold">5</span>
                  <span class="font-medium">瑟庄妮</span>
                  <span class="ml-auto text-sm text-gray-500">3费 弗雷尔卓德/护卫</span>
                </li>
              </ul>
            </div>
          </div>

          <!-- T2 梯队 -->
          <div class="bg-white rounded-xl shadow-lg overflow-hidden hover-scale">
            <div class="bg-secondary text-white py-4 px-6">
              <div class="flex justify-between items-center">
                <h3 class="text-xl font-bold">T2 梯队</h3>
                <span class="px-3 py-1 bg-white text-secondary rounded-full text-sm font-bold">次优选择</span>
              </div>
            </div>
            <div class="p-6">
              <ul class="space-y-3">
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-secondary/10 text-secondary rounded-full flex items-center justify-center font-bold">1</span>
                  <span class="font-medium">亚索</span>
                  <span class="ml-auto text-sm text-gray-500">4费 浪人/决斗大师</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-secondary/10 text-secondary rounded-full flex items-center justify-center font-bold">2</span>
                  <span class="font-medium">韦鲁斯</span>
                  <span class="ml-auto text-sm text-gray-500">3费 恕瑞玛/神射手</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-secondary/10 text-secondary rounded-full flex items-center justify-center font-bold">3</span>
                  <span class="font-medium">莫德凯撒</span>
                  <span class="ml-auto text-sm text-gray-500">4费 诺克萨斯/霸王</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-secondary/10 text-secondary rounded-full flex items-center justify-center font-bold">4</span>
                  <span class="font-medium">伊泽瑞尔</span>
                  <span class="ml-auto text-sm text-gray-500">2费 皮尔特沃夫/发明家</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-secondary/10 text-secondary rounded-full flex items-center justify-center font-bold">5</span>
                  <span class="font-medium">拉克丝</span>
                  <span class="ml-auto text-sm text-gray-500">3费 德玛西亚/法师</span>
                </li>
              </ul>
            </div>
          </div>

          <!-- T3 梯队 -->
          <div class="bg-white rounded-xl shadow-lg overflow-hidden hover-scale">
            <div class="bg-accent text-white py-4 px-6">
              <div class="flex justify-between items-center">
                <h3 class="text-xl font-bold">T3 梯队</h3>
                <span class="px-3 py-1 bg-white text-accent rounded-full text-sm font-bold">过渡选择</span>
              </div>
            </div>
            <div class="p-6">
              <ul class="space-y-3">
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-accent/10 text-accent rounded-full flex items-center justify-center font-bold">1</span>
                  <span class="font-medium">嘉文四世</span>
                  <span class="ml-auto text-sm text-gray-500">2费 德玛西亚/护卫</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-accent/10 text-accent rounded-full flex items-center justify-center font-bold">2</span>
                  <span class="font-medium">吉格斯</span>
                  <span class="ml-auto text-sm text-gray-500">2费 约德尔人/法师</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-accent/10 text-accent rounded-full flex items-center justify-center font-bold">3</span>
                  <span class="font-medium">布隆</span>
                  <span class="ml-auto text-sm text-gray-500">2费 弗雷尔卓德/护卫</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-accent/10 text-accent rounded-full flex items-center justify-center font-bold">4</span>
                  <span class="font-medium">卡兹克</span>
                  <span class="ml-auto text-sm text-gray-500">1费 虚空/刺客</span>
                </li>
                <li class="flex items-center space-x-3">
                  <span class="w-8 h-8 bg-accent/10 text-accent rounded-full flex items-center justify-center font-bold">5</span>
                  <span class="font-medium">厄运小姐</span>
                  <span class="ml-auto text-sm text-gray-500">3费 比尔吉沃特/神射手</span>
                </li>
              </ul>
            </div>
          </div>
        </div>
      </section>

      <!-- 装备合成 -->
      <section id="item-guide" class="mb-16">
        <h2 class="section-title">装备合成</h2>
        <p class="text-gray-600 mb-8 max-w-3xl">合理的装备分配是胜利的关键，下面是当前版本最强势的装备合成方案。</p>
        
        <div class="mb-8">
          <h3 class="text-xl font-bold mb-4 text-secondary">核心装备合成图</h3>
          <div class="bg-white p-6 rounded-xl shadow-lg overflow-x-auto">
            <div class="min-w-[768px]">
              <div class="grid grid-cols-3 gap-4">
                <!-- 攻击力类装备 -->
                <div class="space-y-3">
                  <div class="text-center font-bold text-gray-700 mb-2">攻击力类</div>
                  <div class="flex items-center space-x-2 p-2 bg-gray-50 rounded-lg">
                    <div class="w-8 h-8 bg-red-100 rounded-full flex items-center justify-center text-red-500">⚔️</div>
                    <span>反曲弓 + 反曲弓 = 羊刀</span>
                  </div>
                  <div class="flex items-center space-x-2 p-2 bg-gray-50 rounded-lg">
                    <div class="w-8 h-8 bg-red-100 rounded-full flex items-center justify-center text-red-500">⚔️</div>
                    <span>反曲弓 + 拳套 = 泰坦的坚决</span>
                  </div>
                  <div class="flex items-center space-x-2 p-2 bg-gray-50 rounded-lg">
                    <div class="w-8 h-8 bg-red-100 rounded-full flex items-center justify-center text-red-500">⚔️</div>
                    <span>反曲弓 + 大棒 = 科技枪刃</span>
                  </div>
                </div>
                
                <!-- 法术强度类装备 -->
                <div class="space-y-3">
                  <div class="text-center font-bold text-gray-700 mb-2">法术强度类</div>
                  <div class="flex items-center space-x-2 p-2 bg-gray-50 rounded-lg">
                    <div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center text-blue-500">📜</div>
                    <span>大棒 + 大棒 = 帽子</span>
                  </div>
                  <div class="flex items-center space-x-2 p-2 bg-gray-50 rounded-lg">
                    <div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center text-blue-500">📜</div>
                    <span>大棒 + 拳套 = 法爆</span>
                  </div>
                  <div class="flex items-center space-x-2 p-2 bg-gray-50 rounded-lg">
                    <div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center text-blue-500">📜</div>
                    <span>大棒 + 魔抗 = 龙牙</span>
                  </div>
                </div>
                
                <!-- 防御类装备 -->
                <div class="space-y-3">
                  <div class="text-center font-bold text-gray-700 mb-2">防御类</div>
                  <div class="flex items-center space-x-2 p-2 bg-gray-50 rounded-lg">
                    <div class="w-8 h-8 bg-green-100 rounded-full flex items-center justify-center text-green-500">🛡️</div>
                    <span>锁子甲 + 锁子甲 = 日炎披风</span>
                  </div>
                  <div class="flex items-center space-x-2 p-2 bg-gray-50 rounded-lg">
                    <div class="w-8 h-8 bg-green-100 rounded-full flex items-center justify-center text-green-500">🛡️</div>
                    <span>锁子甲 + 魔抗 = 复活甲</span>
                  </div>
                  <div class="flex items-center space-x-2 p-2 bg-gray-50 rounded-lg">
                    <div class="w-8 h-8 bg-green-100 rounded-full flex items-center justify-center text-green-500">🛡️</div>
                    <span>腰带 + 腰带 = 狂徒铠甲</span>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        
        <div>
          <h3 class="text-xl font-bold mb-4 text-secondary">装备优先级推荐</h3>
          <div class="overflow-x-auto">
            <table class="min-w-full bg-white rounded-xl shadow-lg overflow-hidden">
              <thead class="bg-gray-100 text-gray-700">
                <tr>
                  <th class="py-3 px-4 text-left">装备名称</th>
                  <th class="py-3 px-4 text-left">合成路径</th>
                  <th class="py-3 px-4 text-left">适合英雄</th>
                  <th class="py-3 px-4 text-left">优先级</th>
                </tr>
              </thead>
              <tbody class="divide-y divide-gray-200">
                <tr class="hover:bg-gray-50 transition-colors">
                  <td class="py-3 px-4 font-medium">羊刀</td>
                  <td class="py-3 px-4">反曲弓 + 反曲弓</td>
                  <td class="py-3 px-4">永恩、卡莎、亚索</td>
                  <td class="py-3 px-4"><span class="px-2 py-1 bg-primary text-white rounded-full text-xs font-bold">S级</span></td>
                </tr>
                <tr class="hover:bg-gray-50 transition-colors">
                  <td class="py-3 px-4 font-medium">科技枪刃</td>
                  <td class="py-3 px-4">反曲弓 + 大棒</td>
                  <td class="py-3 px-4">卡莎、永恩、拉克丝</td>
                  <td class="py-3 px-4"><span class="px-2 py-1 bg-primary text-white rounded-full text-xs font-bold">S级</span></td>
                </tr>
                <tr class="hover:bg-gray-50 transition-colors">
                  <td class="py-3 px-4 font-medium">复活甲</td>
                  <td class="py-3 px-4">锁子甲 + 魔抗</td>
                  <td class="py-3 px-4">所有核心C位</td>
                  <td class="py-3 px-4"><span class="px-2 py-1 bg-primary text-white rounded-full text-xs font-bold">S级</span></td>
                </tr>
                <tr class="hover:bg-gray-50 transition-colors">
                  <td class="py-3 px-4 font-medium">泰坦的坚决</td>
                  <td class="py-3 px-4">反曲弓 + 拳套</td>
                  <td class="py-3 px-4">永恩、亚索、卡兹克</td>
                  <td class="py-3 px-4"><span class="px-2 py-1 bg-secondary text-white rounded-full text-xs font-bold">A级</span></td>
                </tr>
                <tr class="hover:bg-gray-50 transition-colors">
                  <td class="py-3 px-4 font-medium">日炎披风</td>
                  <td class="py-3 px-4">锁子甲 + 锁子甲</td>
                  <td class="py-3 px-4">瑟庄妮、塔姆、布隆</td>
                  <td class="py-3 px-4"><span class="px-2 py-1 bg-secondary text-white rounded-full text-xs font-bold">A级</span></td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
      </section>

      <!-- 运营节奏 -->
      <section id="strategy" class="mb-16">
        <h2 class="section-title">运营节奏</h2>
        <p class="text-gray-600 mb-8 max-w-3xl">掌握游戏各阶段的运营节奏是提升胜率的关键，下面是详细的阶段性攻略。</p>
        
        <div class="space-y-8">
          <!-- 开局阶段 -->
          <div class="bg-white p-6 rounded-xl shadow-lg hover-scale">
            <div class="flex flex-col md:flex-row md:items-center gap-4 mb-4">
              <div class="w-16 h-16 bg-primary rounded-full flex items-center justify-center text-white text-2xl font-bold shrink-0">1</div>
              <h3 class="text-2xl font-bold text-secondary">开局阶段（1-3级）</h3>
            </div>
            <div class="pl-0 md:pl-20">
              <p class="text-gray-700 mb-4">游戏开始时，你需要做出以下关键决策：</p>
              <ul class="space-y-2 text-gray-700">
                <li class="flex items-start space-x-2">
                  <i class="fa fa-check-circle text-primary mt-1"></i>
                  <span>选择合适的初始装备：根据后续阵容选择反曲弓、大棒、锁子甲等核心装备</span>
                </li>
                <li class="flex items-start space-x-2">
                  <i class="fa fa-check-circle text-primary mt-1"></i>
                  <span>第一轮野怪后，根据来牌情况决定前期过渡体系（约德尔人、斗士、刺客等）</span>
                </li>
                <li class="flex items-start space-x-2">
                  <i class="fa fa-check-circle text-primary mt-1"></i>
                  <span>2-1阶段（3级）时，通常选择保留3-4个英雄，其余出售，保证经济健康</span>
                </li>
              </ul>
            </div>
          </div>
          
          <!-- 中期过渡 -->
          <div class="bg-white p-6 rounded-xl shadow-lg hover-scale">
            <div class="flex flex-col md:flex-row md:items-center gap-4 mb-4">
              <div class="w-16 h-16 bg-secondary rounded-full flex items-center justify-center text-white text-2xl font-bold shrink-0">2</div>
              <h3 class="text-2xl font-bold text-secondary">中期过渡（4-6级）</h3>
            </div>
            <div class="pl-0 md:pl-20">
              <p class="text-gray-700 mb-4">这个阶段是游戏的关键转折点：</p>
              <ul class="space-y-2 text-gray-700">
                <li class="flex items-start space-x-2">
                  <i class="fa fa-check-circle text-secondary mt-1"></i>
                  <span>3-2阶段（4级）时，根据血量和经济情况选择是否D牌提升质量</span>
                </li>
                <li class="flex items-start space-x-2">
                  <i class="fa fa-check-circle text-secondary mt-1"></i>
                  <span>4-1阶段（5级）时，通常需要凑出2-3个2星英雄来保持战斗力</span>
                </li>
                <li class="flex items-start space-x-2">
                  <i class="fa fa-check-circle text-secondary mt-1"></i>
                  <span>5-1阶段（6级）时，开始向最终阵容转型，逐步替换过渡英雄</span>
                </li>
              </ul>
            </div>
          </div>
          
          <!-- 后期成型 -->
          <div class="bg-white p-6 rounded-xl shadow-lg hover-scale">
            <div class="flex flex-col md:flex-row md:items-center gap-4 mb-4">
              <div class="w-16 h-16 bg-accent rounded-full flex items-center justify-center text-white text-2xl font-bold shrink-0">3</div>
              <h3 class="text-2xl font-bold text-secondary">后期成型（7-9级）</h3>
            </div>
            <div class="pl-0 md:pl-20">
              <p class="text-gray-700 mb-4">游戏后期需要做出最终的阵容成型决策：</p>
              <ul class="space-y-2 text-gray-700">
                <li class="flex items-start space-x-2">
                  <i class="fa fa-check-circle text-accent mt-1"></i>
                  <span>6-1阶段（7级）时，根据经济情况选择D牌找3星核心或存钱上8级</span>
                </li>
                <li class="flex items-start space-x-2">
                  <i class="fa fa-check-circle text-accent mt-1"></i>
                  <span>7-1阶段（8级）时，基本成型最终阵容，开始找4费核心英雄</span>
                </li>
                <li class="flex items-start space-x-2">
                  <i class="fa fa-check-circle text-accent mt-1"></i>
                  <span>8级之后，如果血量健康且经济良好，可以选择上9级找5费终极英雄</span>
                </li>
              </ul>
            </div>
          </div>
        </div>
        
        <!-- 经济管理图表 -->
        <div class="mt-10 bg-white p-6 rounded-xl shadow-lg">
          <h3 class="text-xl font-bold mb-6 text-secondary">各阶段经济管理建议</h3>
          <div class="h-[300px]">
            <canvas id="economyChart"></canvas>
          </div>
        </div>
      </section>

      <!-- 强力阵容 -->
      <section id="lineups" class="mb-16">
        <h2 class="section-title">强力阵容</h2>
        <p class="text-gray-600 mb-8 max-w-3xl">当前版本最强势的几套阵容，掌握这些阵容让你轻松上分。</p>
        
        <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
          <!-- 阵容1：决斗大师永恩 -->
          <div class="bg-white rounded-xl shadow-lg overflow-hidden hover-scale">
            <div class="bg-gradient-to-r from-primary to-secondary text-white py-4 px-6">
              <div class="flex justify-between items-center">
                <h3 class="text-xl font-bold">决斗大师永恩</h3>
                <span class="px-3 py-1 bg-white text-secondary rounded-full text-sm font-bold">版本T0</span>
              </div>
            </div>
            <div class="p-6">
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">核心羁绊</h4>
                <div class="flex flex-wrap gap-2">
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">6决斗大师</span>
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">2浪人</span>
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">2忍者</span>
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">2刺客</span>
                </div>
              </div>
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">核心英雄</h4>
                <div class="grid grid-cols-3 gap-2">
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">永恩</div>
                    <div class="text-xs text-gray-500">5费</div>
                  </div>
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">亚索</div>
                    <div class="text-xs text-gray-500">4费</div>
                  </div>
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">刀妹</div>
                    <div class="text-xs text-gray-500">3费</div>
                  </div>
                </div>
              </div>
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">装备推荐</h4>
                <div class="space-y-2">
                  <div class="flex items-center space-x-2">
                    <i class="fa fa-diamond text-primary"></i>
                    <span><strong>永恩：</strong>羊刀、科技枪刃、复活甲</span>
                  </div>
                  <div class="flex items-center space-x-2">
                    <i class="fa fa-diamond text-secondary"></i>
                    <span><strong>亚索：</strong>泰坦的坚决、饮血、水银</span>
                  </div>
                </div>
              </div>
              <div>
                <h4 class="font-bold text-secondary mb-2">运营思路</h4>
                <p class="text-gray-700 text-sm">前期使用剑姬、武器大师等决斗大师打工，中期存钱上8级，找到永恩和亚索后开始成型，后期提升质量或上9级补五费卡。</p>
              </div>
            </div>
          </div>
          
          <!-- 阵容2：虚空挑战者 -->
          <div class="bg-white rounded-xl shadow-lg overflow-hidden hover-scale">
            <div class="bg-gradient-to-r from-primary to-secondary text-white py-4 px-6">
              <div class="flex justify-between items-center">
                <h3 class="text-xl font-bold">虚空挑战者</h3>
                <span class="px-3 py-1 bg-white text-secondary rounded-full text-sm font-bold">版本T1</span>
              </div>
            </div>
            <div class="p-6">
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">核心羁绊</h4>
                <div class="flex flex-wrap gap-2">
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">4虚空</span>
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">4挑战者</span>
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">2斗士</span>
                </div>
              </div>
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">核心英雄</h4>
                <div class="grid grid-cols-3 gap-2">
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">卡莎</div>
                    <div class="text-xs text-gray-500">4费</div>
                  </div>
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">雷克顿</div>
                    <div class="text-xs text-gray-500">2费</div>
                  </div>
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">卡兹克</div>
                    <div class="text-xs text-gray-500">1费</div>
                  </div>
                </div>
              </div>
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">装备推荐</h4>
                <div class="space-y-2">
                  <div class="flex items-center space-x-2">
                    <i class="fa fa-diamond text-primary"></i>
                    <span><strong>卡莎：</strong>羊刀、科技枪刃、巨杀</span>
                  </div>
                  <div class="flex items-center space-x-2">
                    <i class="fa fa-diamond text-secondary"></i>
                    <span><strong>雷克顿：</strong>日炎、狂徒、反甲</span>
                  </div>
                </div>
              </div>
              <div>
                <h4 class="font-bold text-secondary mb-2">运营思路</h4>
                <p class="text-gray-700 text-sm">前期保留虚空和挑战者英雄，3-2拉6小D提升质量，中期保持4-5连胜，7级时D出3星卡兹克和2星雷克顿，8级找卡莎和大虫子。</p>
              </div>
            </div>
          </div>
          
          <!-- 阵容3：约德尔法 -->
          <div class="bg-white rounded-xl shadow-lg overflow-hidden hover-scale">
            <div class="bg-gradient-to-r from-primary to-secondary text-white py-4 px-6">
              <div class="flex justify-between items-center">
                <h3 class="text-xl font-bold">约德尔法</h3>
                <span class="px-3 py-1 bg-white text-secondary rounded-full text-sm font-bold">版本T1</span>
              </div>
            </div>
            <div class="p-6">
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">核心羁绊</h4>
                <div class="flex flex-wrap gap-2">
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">6约德尔人</span>
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">3法师</span>
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">2铁匠</span>
                </div>
              </div>
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">核心英雄</h4>
                <div class="grid grid-cols-3 gap-2">
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">奥恩</div>
                    <div class="text-xs text-gray-500">5费</div>
                  </div>
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">吉格斯</div>
                    <div class="text-xs text-gray-500">2费</div>
                  </div>
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">璐璐</div>
                    <div class="text-xs text-gray-500">2费</div>
                  </div>
                </div>
              </div>
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">装备推荐</h4>
                <div class="space-y-2">
                  <div class="flex items-center space-x-2">
                    <i class="fa fa-diamond text-primary"></i>
                    <span><strong>吉格斯：</strong>帽子、法爆、大天使</span>
                  </div>
                  <div class="flex items-center space-x-2">
                    <i class="fa fa-diamond text-secondary"></i>
                    <span><strong>奥恩：</strong>狂徒、反甲、龙爪</span>
                  </div>
                </div>
              </div>
              <div>
                <h4 class="font-bold text-secondary mb-2">运营思路</h4>
                <p class="text-gray-700 text-sm">前期使用约德尔人打工，尽可能多保留约德尔英雄，3-2拉6级，4-1拉7级找到6约德尔羁绊，5-1拉8级找奥恩，后期提升3星小法和璐璐。</p>
              </div>
            </div>
          </div>
          
          <!-- 阵容4：护卫拉克丝 -->
          <div class="bg-white rounded-xl shadow-lg overflow-hidden hover-scale">
            <div class="bg-gradient-to-r from-primary to-secondary text-white py-4 px-6">
              <div class="flex justify-between items-center">
                <h3 class="text-xl font-bold">护卫拉克丝</h3>
                <span class="px-3 py-1 bg-white text-secondary rounded-full text-sm font-bold">版本T2</span>
              </div>
            </div>
            <div class="p-6">
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">核心羁绊</h4>
                <div class="flex flex-wrap gap-2">
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">4德玛西亚</span>
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">3法师</span>
                  <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">2护卫</span>
                </div>
              </div>
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">核心英雄</h4>
                <div class="grid grid-cols-3 gap-2">
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">拉克丝</div>
                    <div class="text-xs text-gray-500">3费</div>
                  </div>
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">嘉文四世</div>
                    <div class="text-xs text-gray-500">2费</div>
                  </div>
                  <div class="bg-gray-50 p-2 rounded-lg text-center">
                    <div class="font-bold">波比</div>
                    <div class="text-xs text-gray-500">1费</div>
                  </div>
                </div>
              </div>
              <div class="mb-4">
                <h4 class="font-bold text-secondary mb-2">装备推荐</h4>
                <div class="space-y-2">
                  <div class="flex items-center space-x-2">
                    <i class="fa fa-diamond text-primary"></i>
                    <span><strong>拉克丝：</strong>帽子、法爆、科技枪刃</span>
                  </div>
                  <div class="flex items-center space-x-2">
                    <i class="fa fa-diamond text-secondary"></i>
                    <span><strong>嘉文四世：</strong>日炎、狂徒、反甲</span>
                  </div>
                </div>
              </div>
              <div>
                <h4 class="font-bold text-secondary mb-2">运营思路</h4>
                <p class="text-gray-700 text-sm">前期使用德玛西亚英雄打工，3-2拉6级小D提升质量，中期保持3法师和2护卫，6-1拉8级补充4德玛西亚，重点培养3星拉克丝和波比。</p>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- 常见问题 -->
      <section id="faq" class="mb-16">
        <h2 class="section-title">常见问题</h2>
        <p class="text-gray-600 mb-8 max-w-3xl">解答玩家在游戏中经常遇到的问题，帮助你更好地理解游戏机制。</p>
        
        <div class="bg-white rounded-xl shadow-lg overflow-hidden">
          <div class="divide-y divide-gray-200">
            <!-- FAQ 项目 1 -->
            <div class="faq-item" data-faq="1">
              <div class="faq-question p-6 cursor-pointer flex justify-between items-center">
                <h3 class="font-bold text-lg">如何判断当前应该走什么阵容？</h3>
                <i class="fa fa-chevron-down text-gray-400 transition-transform duration-300"></i>
              </div>
              <div class="faq-answer p-6 pt-0 hidden">
                <p class="text-gray-700">判断走什么阵容主要看三点：1. 初始装备是什么（物理装备适合AD阵容，法系装备适合AP阵容）；2. 前期来牌情况（哪类英雄来得多）；3. 对手阵容分布（避免和多人撞车同一阵容）。如果装备和来牌都比较杂，可以选择当前版本强势且灵活的阵容。</p>
              </div>
            </div>
            
            <!-- FAQ 项目 2 -->
            <div class="faq-item" data-faq="2">
              <div class="faq-question p-6 cursor-pointer flex justify-between items-center">
                <h3 class="font-bold text-lg">什么时候应该D牌，什么时候应该存钱？</h3>
                <i class="fa fa-chevron-down text-gray-400 transition-transform duration-300"></i>
              </div>
              <div class="faq-answer p-6 pt-0 hidden">
                <p class="text-gray-700">这取决于你的血量和经济情况。一般来说：1. 血量低于40且处于第4阶段，需要D牌提升质量；2. 经济良好且阵容基本成型，可以存钱上人口；3. 处于连胜状态，可以适当存钱；4. 处于连败状态，需要在前期D牌止血或继续存钱吃连败经济。</p>
              </div>
            </div>
            
            <!-- FAQ 项目 3 -->
            <div class="faq-item" data-faq="3">
              <div class="faq-question p-6 cursor-pointer flex justify-between items-center">
                <h3 class="font-bold text-lg">如何合理分配装备？</h3>
                <i class="fa fa-chevron-down text-gray-400 transition-transform duration-300"></i>
              </div>
              <div class="faq-answer p-6 pt-0 hidden">
                <p class="text-gray-700">装备分配的基本原则：1. 核心输出装备优先给主C位；2. 防御装备优先给前排坦克；3. 根据英雄特性分配装备（例如技能AP加成高的英雄给法强装备）；4. 尽量合成完整装备，避免散件；5. 保留关键散件，避免合成无用装备。</p>
              </div>
            </div>
            
            <!-- FAQ 项目 4 -->
            <div class="faq-item" data-faq="4">
              <div class="faq-question p-6 cursor-pointer flex justify-between items-center">
                <h3 class="font-bold text-lg">如何应对版本更新？</h3>
                <i class="fa fa-chevron-down text-gray-400 transition-transform duration-300"></i>
              </div>
              <div class="faq-answer p-6 pt-0 hidden">
                <p class="text-gray-700">版本更新后，需要关注以下几点：1. 查看官方更新公告，了解英雄、羁绊、装备的具体调整；2. 观察高端玩家和职业选手的新套路；3. 在低分段进行测试，验证新阵容强度；4. 重点关注被加强的英雄和羁绊，尤其是低费卡的加强往往会带来新的强势阵容。</p>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- 高级会员 -->
      <section id="premium" class="mb-16 bg-gradient-to-b from-dark to-secondary text-white">
        <div class="container mx-auto px-4 py-16">
          <div class="text-center mb-12">
            <h2 class="text-3xl md:text-4xl font-bold mb-4">升级高级会员</h2>
            <p class="text-xl text-gray-300 max-w-2xl mx-auto">解锁专业玩家的秘密武器，掌握独家攻略和数据，提升你的游戏水平</p>
          </div>
          
          <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
            <!-- 基础会员 -->
            <div class="bg-white/10 backdrop-blur-sm rounded-xl overflow-hidden hover-scale border border-white/20">
              <div class="p-6">
                <h3 class="text-xl font-bold mb-2">基础会员</h3>
                <div class="text-4xl font-bold mb-4">¥19<span class="text-sm font-normal text-gray-300">/月</span></div>
                <ul class="space-y-3 mb-8">
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>解锁所有强力阵容详细攻略</span>
                  </li>
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>每周版本更新分析</span>
                  </li>
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>基础装备模拟器</span>
                  </li>
                  <li class="flex items-start space-x-3 text-gray-400">
                    <i class="fa fa-times mt-1"></i>
                    <span>视频教程</span>
                  </li>
                  <li class="flex items-start space-x-3 text-gray-400">
                    <i class="fa fa-times mt-1"></i>
                    <span>个性化阵容推荐</span>
                  </li>
                </ul>
                <button class="w-full py-3 bg-primary text-dark font-bold rounded-full hover:bg-primary/90 transition-all">
                  立即开通
                </button>
              </div>
            </div>
            
            <!-- 高级会员 -->
            <div class="bg-primary/20 backdrop-blur-sm rounded-xl overflow-hidden hover-scale border-2 border-primary relative">
              <div class="absolute top-0 right-0 bg-primary text-dark font-bold px-4 py-1 text-sm">
                最受欢迎
              </div>
              <div class="p-6">
                <h3 class="text-xl font-bold mb-2">高级会员</h3>
                <div class="text-4xl font-bold mb-4">¥39<span class="text-sm font-normal text-gray-300">/月</span></div>
                <ul class="space-y-3 mb-8">
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>解锁所有强力阵容详细攻略</span>
                  </li>
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>实时版本更新推送</span>
                  </li>
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>高级装备模拟器</span>
                  </li>
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>100+精选视频教程</span>
                  </li>
                  <li class="flex items-start space-x-3 text-gray-400">
                    <i class="fa fa-times mt-1"></i>
                    <span>个性化阵容推荐</span>
                  </li>
                </ul>
                <button class="w-full py-3 bg-white text-secondary font-bold rounded-full hover:bg-white/90 transition-all">
                  立即开通
                </button>
              </div>
            </div>
            
            <!-- 大师会员 -->
            <div class="bg-white/10 backdrop-blur-sm rounded-xl overflow-hidden hover-scale border border-white/20">
              <div class="p-6">
                <h3 class="text-xl font-bold mb-2">大师会员</h3>
                <div class="text-4xl font-bold mb-4">¥69<span class="text-sm font-normal text-gray-300">/月</span></div>
                <ul class="space-y-3 mb-8">
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>所有高级会员特权</span>
                  </li>
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>独家T0阵容提前看</span>
                  </li>
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>个性化阵容推荐</span>
                  </li>
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>职业选手直播讲解</span>
                  </li>
                  <li class="flex items-start space-x-3">
                    <i class="fa fa-check text-primary mt-1"></i>
                    <span>专属客服1对1指导</span>
                  </li>
                </ul>
                <button class="w-full py-3 bg-primary text-dark font-bold rounded-full hover:bg-primary/90 transition-all">
                  立即开通
                </button>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- 会员特权展示 -->
      <section class="mb-16">
        <div class="text-center mb-12">
          <h2 class="section-title">会员专属特权</h2>
          <p class="text-gray-600 max-w-2xl mx-auto">成为会员，享受专业玩家级别的游戏体验</p>
        </div>
        
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
          <!-- 特权1 -->
          <div class="bg-white p-6 rounded-xl shadow-lg hover-scale">
            <div class="w-16 h-16 bg-primary/10 text-primary rounded-full flex items-center justify-center text-2xl mb-4">
              <i class="fa fa-star"></i>
            </div>
            <h3 class="text-xl font-bold mb-2">独家阵容</h3>
            <p class="text-gray-600">获取职业选手正在使用的隐藏强力阵容，比普通玩家更早掌握版本答案</p>
          </div>
          
          <!-- 特权2 -->
          <div class="bg-white p-6 rounded-xl shadow-lg hover-scale">
            <div class="w-16 h-16 bg-primary/10 text-primary rounded-full flex items-center justify-center text-2xl mb-4">
              <i class="fa fa-video-camera"></i>
            </div>
            <h3 class="text-xl font-bold mb-2">视频教程</h3>
            <p class="text-gray-600">观看专业玩家的实战视频讲解，学习他们的决策思路和操作细节</p>
          </div>
          
          <!-- 特权3 -->
          <div class="bg-white p-6 rounded-xl shadow-lg hover-scale">
            <div class="w-16 h-16 bg-primary/10 text-primary rounded-full flex items-center justify-center text-2xl mb-4">
              <i class="fa fa-bar-chart"></i>
            </div>
            <h3 class="text-xl font-bold mb-2">数据分析</h3>
            <p class="text-gray-600">获取精确的英雄胜率、出场率等数据，科学指导你的游戏决策</p>
          </div>
          
          <!-- 特权4 -->
          <div class="bg-white p-6 rounded-xl shadow-lg hover-scale">
            <div class="w-16 h-16 bg-primary/10 text-primary rounded-full flex items-center justify-center text-2xl mb-4">
              <i class="fa fa-magic"></i>
            </div>
            <h3 class="text-xl font-bold mb-2">智能推荐</h3>
            <p class="text-gray-600">基于你的游戏习惯和当前版本，AI智能推荐最适合你的阵容和运营路线</p>
          </div>
          
          <!-- 特权5：金铲铲陪玩 -->
          <div class="bg-white p-6 rounded-xl shadow-lg hover-scale">
            <div class="w-16 h-16 bg-primary/10 text-primary rounded-full flex items-center justify-center text-2xl mb-4">
              <i class="fa fa-users"></i>
            </div>
            <h3 class="text-xl font-bold mb-2">专业陪玩</h3>
            <p class="text-gray-600">预约高分段玩家一对一陪玩指导，实时提升你的游戏技巧和意识</p>
          </div>
          
          <!-- 特权6：阵容模拟 -->
          <div class="bg-white p-6 rounded-xl shadow-lg hover-scale">
            <div class="w-16 h-16 bg-primary/10 text-primary rounded-full flex items-center justify-center text-2xl mb-4">
              <i class="fa fa-cubes"></i>
            </div>
            <h3 class="text-xl font-bold mb-2">阵容模拟</h3>
            <p class="text-gray-600">使用高级阵容模拟器，自由搭配英雄和装备，提前预演你的胜利之路</p>
            <a href="d:\ym\moni.html" class="inline-block mt-4 text-primary font-semibold hover:underline">立即体验</a>
          </div>
      </section>

      <!-- 专业陪玩服务 -->
      <section id="companion-service" class="mb-16 bg-white p-8 rounded-xl shadow-lg member-only" style="display: none;">
        <div class="text-center mb-12">
          <h2 class="section-title">专业陪玩服务</h2>
          <p class="text-gray-600 max-w-2xl mx-auto">预约高分段玩家，提升你的游戏技巧</p>
        </div>
        
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
          <!-- 陪玩导师列表 -->
          <div class="lg:col-span-2">
            <h3 class="text-xl font-bold mb-4">推荐陪玩导师</h3>
            <div class="space-y-4">
              <!-- 导师1 -->
              <div class="bg-gray-50 p-4 rounded-lg border border-gray-200 flex items-center">
                <div class="w-16 h-16 rounded-full bg-gray-300 overflow-hidden mr-4">
                  <img src="https://picsum.photos/200/200?random=1" alt="导师头像" class="w-full h-full object-cover">
                </div>
                <div class="flex-1">
                  <div class="flex items-center justify-between">
                    <h4 class="font-bold text-lg">王导师</h4>
                    <span class="bg-yellow-100 text-yellow-800 px-2 py-1 rounded text-sm">钻石段位</span>
                  </div>
                  <p class="text-gray-600 text-sm mt-1">擅长阵容：约德尔人、虚空、堡垒</p>
                  <div class="flex items-center mt-2">
                    <div class="flex text-yellow-400">
                      <i class="fa fa-star"></i>
                      <i class="fa fa-star"></i>
                      <i class="fa fa-star"></i>
                      <i class="fa fa-star"></i>
                      <i class="fa fa-star-half-o"></i>
                    </div>
                    <span class="text-gray-500 text-sm ml-2">4.8 (126次评价)</span>
                  </div>
                </div>
                <button class="px-4 py-2 bg-primary text-dark font-bold rounded-lg" onclick="openCompanionModal('王导师', '钻石段位', '擅长阵容：约德尔人、虚空、堡垒')">
                  立即预约
                </button>
              </div>
              
              <!-- 导师2 -->
              <div class="bg-gray-50 p-4 rounded-lg border border-gray-200 flex items-center">
                <div class="w-16 h-16 rounded-full bg-gray-300 overflow-hidden mr-4">
                  <img src="https://picsum.photos/200/200?random=2" alt="导师头像" class="w-full h-full object-cover">
                </div>
                <div class="flex-1">
                  <div class="flex items-center justify-between">
                    <h4 class="font-bold text-lg">李导师</h4>
                    <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-sm">大师段位</span>
                  </div>
                  <p class="text-gray-600 text-sm mt-1">擅长阵容：帝国、龙、狂野</p>
                  <div class="flex items-center mt-2">
                    <div class="flex text-yellow-400">
                      <i class="fa fa-star"></i>
                      <i class="fa fa-star"></i>
                      <i class="fa fa-star"></i>
                      <i class="fa fa-star"></i>
                      <i class="fa fa-star"></i>
                    </div>
                    <span class="text-gray-500 text-sm ml-2">5.0 (89次评价)</span>
                  </div>
                </div>
                <button class="px-4 py-2 bg-primary text-dark font-bold rounded-lg" onclick="openCompanionModal('李导师', '大师段位', '擅长阵容：帝国、龙、狂野')">
                  立即预约
                </button>
              </div>
            </div>
          </div>
          
          <!-- 服务介绍 -->
          <div class="bg-gray-50 p-6 rounded-lg">
            <h3 class="text-xl font-bold mb-4">服务详情</h3>
            <ul class="space-y-3">
              <li class="flex items-start">
                <i class="fa fa-check-circle text-green-500 mt-1 mr-2"></i>
                <span>一对一语音指导，实时教学</span>
              </li>
              <li class="flex items-start">
                <i class="fa fa-check-circle text-green-500 mt-1 mr-2"></i>
                <span>根据你的水平定制教学内容</span>
              </li>
              <li class="flex items-start">
                <i class="fa fa-check-circle text-green-500 mt-1 mr-2"></i>
                <span>阵容搭配、装备选择全解析</span>
              </li>
              <li class="flex items-start">
                <i class="fa fa-check-circle text-green-500 mt-1 mr-2"></i>
                <span>运营思路、升本时机专业指导</span>
              </li>
              <li class="flex items-start">
                <i class="fa fa-check-circle text-green-500 mt-1 mr-2"></i>
                <span>提供专属复盘和提升建议</span>
              </li>
            </ul>
            
            <div class="mt-6 pt-6 border-t border-gray-200">
              <h4 class="font-bold mb-2">会员专属优惠</h4>
              <p class="text-gray-600 text-sm mb-4">基础会员享受9折优惠，高级会员享受8折优惠，大师会员享受7折优惠</p>
              <button class="w-full py-3 bg-secondary text-white font-bold rounded-lg">
                查看所有导师列表
              </button>
            </div>
          </div>
        </div>
      </section>
        <div class="text-center mb-8">
          <h3 class="text-2xl font-bold text-secondary">会员专享内容预览</h3>
          <p class="text-gray-600 mt-2">以下内容仅对高级会员开放</p>
        </div>
        
        <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
          <!-- 视频教程预览 -->
          <div class="rounded-lg overflow-hidden relative hover-scale">
            <div class="aspect-video bg-gray-200 flex items-center justify-center">
              <i class="fa fa-lock text-4xl text-gray-400 mb-4"></i>
              <p class="text-gray-500 font-medium">专业选手实战教学视频</p>
            </div>
            <div class="absolute inset-0 bg-black/50 flex items-center justify-center opacity-0 hover:opacity-100 transition-opacity">
              <button class="px-6 py-3 bg-primary text-dark font-bold rounded-full">
                升级会员观看
              </button>
            </div>
          </div>
          
          <!-- 数据分析预览 -->
          <div class="rounded-lg overflow-hidden relative hover-scale">
            <div class="aspect-video bg-gray-200 flex items-center justify-center">
              <i class="fa fa-lock text-4xl text-gray-400 mb-4"></i>
              <p class="text-gray-500 font-medium">实时胜率和出场率数据分析</p>
            </div>
            <div class="absolute inset-0 bg-black/50 flex items-center justify-center opacity-0 hover:opacity-100 transition-opacity">
              <button class="px-6 py-3 bg-primary text-dark font-bold rounded-full">
                升级会员查看
              </button>
            </div>
          </div>
          
          <!-- 专业陪玩预览 -->
          <div class="rounded-lg overflow-hidden relative hover-scale">
            <div class="aspect-video bg-gray-200 flex items-center justify-center">
              <i class="fa fa-lock text-4xl text-gray-400 mb-4"></i>
              <p class="text-gray-500 font-medium">专业玩家一对一陪玩指导服务</p>
            </div>
            <div class="absolute inset-0 bg-black/50 flex items-center justify-center opacity-0 hover:opacity-100 transition-opacity">
              <button class="px-6 py-3 bg-primary text-dark font-bold rounded-full">
                升级会员预约
              </button>
            </div>
          </div>
        </div>
      </section>

      <!-- 赛季数据统计功能已删除 -->
                    </thead>
                    <tbody>
                      <!-- 英雄数据行 -->
                      <tr class="hover:bg-gray-50 transition-colors">
                        <!-- 德莱文整行数据已删除 -->
                      </tr>
                      <!-- 英雄数据已删除 -->
                    </tbody>
                  </table>
                </div>
              </div>
            </div>

            <!-- 装备分析标签内容 -->
            <div class="tab-content hidden" id="item-stats">
              <!-- 装备使用率图表 -->
              <div class="mb-8">
                <h3 class="text-2xl font-bold mb-6 text-secondary">装备使用率对比</h3>
                <div class="bg-white p-4 rounded-xl shadow-md">
                  <canvas id="itemUsageChart" height="300"></canvas>
                </div>
              </div>
              
              <!-- 装备列表 -->
              <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                <div class="bg-white p-6 rounded-xl shadow-md">
                  <h4 class="text-xl font-bold mb-4">物理装备 Top 5</h4>
                  <div class="space-y-4">
                    <div>
                      <div class="flex justify-between mb-1">
                        <span class="font-medium">巨杀</span>
                        <span class="text-green-600">45.2%</span>
                      </div>
                      <div class="w-full bg-gray-200 rounded-full h-3">
                        <div class="bg-gradient-to-r from-red-400 to-red-600 h-3 rounded-full" style="width: 45.2%"></div>
                      </div>
                    </div>
                    <div>
                      <div class="flex justify-between mb-1">
                        <span class="font-medium">无尽之刃</span>
                        <span class="text-green-600">38.7%</span>
                      </div>
                      <div class="w-full bg-gray-200 rounded-full h-3">
                        <div class="bg-gradient-to-r from-red-400 to-red-600 h-3 rounded-full" style="width: 38.7%"></div>
                      </div>
                    </div>
                    <div>
                      <div class="flex justify-between mb-1">
                        <span class="font-medium">饮血剑</span>
                        <span class="text-green-600">34.5%</span>
                      </div>
                      <div class="w-full bg-gray-200 rounded-full h-3">
                        <div class="bg-gradient-to-r from-red-400 to-red-600 h-3 rounded-full" style="width: 34.5%"></div>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-md">
                  <h4 class="text-xl font-bold mb-4">法系装备 Top 5</h4>
                  <div class="space-y-4">
                    <div>
                      <div class="flex justify-between mb-1">
                        <span class="font-medium">科技枪刃</span>
                        <span class="text-purple-600">41.8%</span>
                      </div>
                      <div class="w-full bg-gray-200 rounded-full h-3">
                        <div class="bg-gradient-to-r from-purple-400 to-purple-600 h-3 rounded-full" style="width: 41.8%"></div>
                      </div>
                    </div>
                    <div>
                      <div class="flex justify-between mb-1">
                        <span class="font-medium">法爆</span>
                        <span class="text-purple-600">36.2%</span>
                      </div>
                      <div class="w-full bg-gray-200 rounded-full h-3">
                        <div class="bg-gradient-to-r from-purple-400 to-purple-600 h-3 rounded-full" style="width: 36.2%"></div>
                      </div>
                    </div>
                    <div>
                      <div class="flex justify-between mb-1">
                        <span class="font-medium">蓝BUFF</span>
                        <span class="text-purple-600">32.9%</span>
                      </div>
                      <div class="w-full bg-gray-200 rounded-full h-3">
                        <div class="bg-gradient-to-r from-purple-400 to-purple-600 h-3 rounded-full" style="width: 32.9%"></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>

            <!-- 趋势分析标签内容 -->
            <div class="tab-content hidden" id="trend-analysis">
              <!-- 趋势图表 -->
              <div class="mb-8">
                <h3 class="text-2xl font-bold mb-6 text-secondary">赛季趋势分析</h3>
                <div class="bg-white p-4 rounded-xl shadow-md">
                  <canvas id="trendAnalysisChart" height="300"></canvas>
                </div>
              </div>
              
              <!-- 关键发现 -->
              <div class="bg-white p-6 rounded-xl shadow-md">
                <h4 class="text-xl font-bold mb-4">关键发现</h4>
                <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                  <div class="flex items-start p-4 bg-blue-50 rounded-lg">
                    <i class="fa fa-line-chart text-blue-500 text-xl mr-3 mt-1"></i>
                    <div>
                      <h5 class="font-bold mb-1">刺客崛起</h5>
                      <p class="text-gray-600 text-sm">卡兹克等刺客英雄登顶率提升15%，成为版本新宠</p>
                    </div>
                  </div>
                  <div class="flex items-start p-4 bg-green-50 rounded-lg">
                    <i class="fa fa-shield text-green-500 text-xl mr-3 mt-1"></i>
                    <div>
                      <h5 class="font-bold mb-1">坦克装备增强</h5>
                      <p class="text-gray-600 text-sm">反甲使用率提升23%，坦克阵容韧性增强</p>
                    </div>
                  </div>
                  <div class="flex items-start p-4 bg-yellow-50 rounded-lg">
                    <i class="fa fa-clock-o text-yellow-500 text-xl mr-3 mt-1"></i>
                    <div>
                      <h5 class="font-bold mb-1">对局节奏加快</h5>
                      <p class="text-gray-600 text-sm">平均对局时长缩短12%，前期节奏更加紧凑</p>
                    </div>
                  </div>
                  <div class="flex items-start p-4 bg-red-50 rounded-lg">
                    <i class="fa fa-bolt text-red-500 text-xl mr-3 mt-1"></i>
                    <div>
                      <h5 class="font-bold mb-1">爆发伤害提升</h5>
                      <p class="text-gray-600 text-sm">巨杀和无尽等爆发装备使用率大幅提升</p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        
        <!-- 所有赛季内容容器已删除 -->
          </div>
        </div>
        
        <!-- 所有赛季内容容器已删除 -->
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
        </div>
        
        <!-- 所有赛季内容容器已删除 -->
        
        <!-- 所有赛季内容容器已删除 -->
              </table>
            </div>
          </div>
        </div>
                    <!-- 英雄数据已删除 -->
                </tbody>
              </table>
            </div>
          </div>

          <!-- 装备登顶率 -->
          <div>
            <h3 class="text-2xl font-bold mb-6 text-secondary">装备登顶率 Top 10</h3>
            <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
              <!-- 装备图表 -->
              <div class="bg-white p-4 rounded-lg shadow">
                <canvas id="itemChart" height="300"></canvas>
              </div>
              
              <!-- 装备列表 -->
              <div class="space-y-4">
                <div class="flex items-center p-4 bg-gray-50 rounded-lg">
                  <div class="w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center mr-3 font-bold">
                    1
                  </div>
                  <div class="flex-1">
                    <div class="flex justify-between mb-1">
                      <span class="font-medium">巨人杀手</span>
                      <span class="text-green-600 font-bold">42.7%</span>
                    </div>
                    <div class="w-full bg-gray-200 rounded-full h-2">
                      <div class="bg-green-600 h-2 rounded-full" style="width: 42.7%"></div>
                    </div>
                  </div>
                </div>
                <div class="flex items-center p-4 bg-gray-50 rounded-lg">
                  <div class="w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center mr-3 font-bold">
                    2
                  </div>
                  <div class="flex-1">
                    <div class="flex justify-between mb-1">
                      <span class="font-medium">科技枪刃</span>
                      <span class="text-green-600 font-bold">38.5%</span>
                    </div>
                    <div class="w-full bg-gray-200 rounded-full h-2">
                      <div class="bg-green-600 h-2 rounded-full" style="width: 38.5%"></div>
                    </div>
                  </div>
                </div>
                <div class="flex items-center p-4 bg-gray-50 rounded-lg">
                  <div class="w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center mr-3 font-bold">
                    3
                  </div>
                  <div class="flex-1">
                    <div class="flex justify-between mb-1">
                      <span class="font-medium">羊刀</span>
                      <span class="text-green-600 font-bold">35.2%</span>
                    </div>
                    <div class="w-full bg-gray-200 rounded-full h-2">
                      <div class="bg-green-600 h-2 rounded-full" style="width: 35.2%"></div>
                    </div>
                  </div>
                </div>
                <div class="flex items-center p-4 bg-gray-50 rounded-lg">
                  <div class="w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center mr-3 font-bold">
                    4
                  </div>
                  <div class="flex-1">
                    <div class="flex justify-between mb-1">
                      <span class="font-medium">无尽之刃</span>
                      <span class="text-green-600 font-bold">32.8%</span>
                    </div>
                    <div class="w-full bg-gray-200 rounded-full h-2">
                      <div class="bg-green-600 h-2 rounded-full" style="width: 32.8%"></div>
                    </div>
                  </div>
                </div>
                <div class="flex items-center p-4 bg-gray-50 rounded-lg">
                  <div class="w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center mr-3 font-bold">
                    5
                  </div>
                  <div class="flex-1">
                    <div class="flex justify-between mb-1">
                      <span class="font-medium">珠光护手</span>
                      <span class="text-green-600 font-bold">29.4%</span>
                    </div>
                    <div class="w-full bg-gray-200 rounded-full h-2">
                      <div class="bg-green-600 h-2 rounded-full" style="width: 29.4%"></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>

        <!-- 所有赛季内容容器已删除 -->



      <!-- 订阅更新 -->
      <section class="mb-16 bg-gradient-to-r from-primary/20 to-secondary/20 p-8 rounded-2xl">
        <div class="max-w-2xl mx-auto text-center">
          <h2 class="text-2xl md:text-3xl font-bold mb-4 text-secondary">订阅版本更新通知</h2>
          <p class="text-gray-700 mb-6">及时获取最新的游戏版本更新、阵容调整和运营技巧</p>
          <form class="flex flex-col sm:flex-row gap-3 max-w-md mx-auto">
            <input type="email" placeholder="输入你的邮箱地址" class="flex-1 px-4 py-3 rounded-full focus:outline-none focus:ring-2 focus:ring-primary">
            <button type="submit" class="px-6 py-3 bg-primary text-dark font-bold rounded-full hover:bg-primary/90 transition-all shadow-lg hover:shadow-primary/30 whitespace-nowrap">
              立即订阅
            </button>
          </form>
        </div>
      </section>
    </main>

    <!-- 页脚 -->
    <footer class="bg-dark text-white py-12">
      <div class="container mx-auto px-4">
        <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
          <div>
            <div class="flex items-center space-x-2 mb-4">
              <i class="fa fa-shield text-2xl text-primary"></i>
              <span class="text-xl font-bold">金铲铲运营教学</span>
            </div>
            <p class="text-gray-400 mb-4">专业的金铲铲之战攻略网站，提供最新的版本资讯、强力阵容和运营技巧。</p>
            <div class="flex space-x-4">
              <a href="#" class="text-gray-400 hover:text-primary transition-colors"><i class="fa fa-weibo"></i></a>
              <a href="#" class="text-gray-400 hover:text-primary transition-colors"><i class="fa fa-wechat"></i></a>
              <a href="#" class="text-gray-400 hover:text-primary transition-colors"><i class="fa fa-bilibili"></i></a>
            </div>
          </div>
          
          <div>
            <h4 class="text-lg font-bold mb-4">快速链接</h4>
            <ul class="space-y-2">
              <li><a href="#intro" class="text-gray-400 hover:text-primary transition-colors">游戏简介</a></li>
              <li><a href="#hero-tier" class="text-gray-400 hover:text-primary transition-colors">英雄梯队</a></li>
              <li><a href="#item-guide" class="text-gray-400 hover:text-primary transition-colors">装备合成</a></li>
              <li><a href="#strategy" class="text-gray-400 hover:text-primary transition-colors">运营节奏</a></li>
              <li><a href="#lineups" class="text-gray-400 hover:text-primary transition-colors">强力阵容</a></li>
              <li><a href="#premium" class="text-accent hover:text-primary transition-colors">高级会员</a></li>
            </ul>
          </div>
          
          <div>
            <h4 class="text-lg font-bold mb-4">版本信息</h4>
            <ul class="space-y-2">
              <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">最新版本</a></li>
              <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">版本更新日志</a></li>
              <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">英雄调整</a></li>
              <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">羁绊调整</a></li>
            </ul>
          </div>
          
          <div>
            <h4 class="text-lg font-bold mb-4">联系我们</h4>
            <ul class="space-y-2">
              <li class="flex items-center space-x-2 text-gray-400">
                <i class="fa fa-envelope"></i>
                <span>contact@jinchacha.com</span>
              </li>
              <li class="flex items-center space-x-2 text-gray-400">
                <i class="fa fa-map-marker"></i>
                <span>上海市浦东新区</span>
              </li>
            </ul>
          </div>
        </div>
        
        <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-500">
          <p>© 2023 金铲铲运营教学. 版权所有.</p>
        </div>
      </div>
    </footer>

    <!-- 返回顶部按钮 -->
    <button id="back-to-top" class="fixed bottom-8 right-8 w-12 h-12 bg-primary text-dark rounded-full flex items-center justify-center shadow-lg opacity-0 invisible transition-all duration-300 z-50">
      <i class="fa fa-arrow-up"></i>
    </button>

    <!-- JavaScript -->
    <script>
      // 会员按钮点击效果
      document.querySelectorAll('#premium button').forEach(button => {
        button.addEventListener('click', () => {
          alert('即将跳转到会员开通页面');
          // 实际项目中这里会跳转到支付页面
        });
      });

      // 赛季数据统计相关JavaScript已删除
      
      // 赛季数据统计功能相关图表代码已删除
            data: [46.9, 44.2, 41.7, 39.3, 37.0, 35.4, 33.8, 32.2, 30.7, 29.1]
          },
          'S13': {
            labels: ['千变者贾修', '心之钢', '峡谷制造者', '暗夜收割者', '死亡之舞', '守护天使', '科技枪', '帽子', '法穿棒', '反甲'],
            data: [48.5, 45.7, 43.2, 40.8, 38.5, 36.8, 35.2, 33.6, 32.1, 30.5]
          },
          'S14': {
            labels: ['涡轮炼金罐', '辉耀美德', '破舰者', '守护天使', '兰顿之兆', '科技枪', '帽子', '法穿棒', '反甲', '日炎'],
            data: [47.1, 44.4, 41.9, 39.6, 37.3, 35.7, 34.1, 32.5, 31.0, 29.4]
          },
          'S15': {
            labels: ['海克斯科技枪刃', '灭世者的死亡之帽', '大天使之杖', '离子火花', '荆棘背心', '守护天使', '珠光护手', '法穿棒', '日炎', '救赎'],
            data: [49.3, 45.9, 43.3, 40.7, 38.4, 36.7, 35.1, 33.5, 31.9, 30.3]
          }
        };
        
        // 获取当前赛季的数据，如果不存在则使用默认数据
        // 赛季装备数据已移除
        
        // 确保图表实例存在
        if (window.itemChartInstance) {
          // 更新图表数据
          window.itemChartInstance.data.labels = currentData.labels;
          window.itemChartInstance.data.datasets[0].data = currentData.data;
          
          // 生成渐变色背景
          const backgroundColor = currentData.data.map((value, index) => {
            // 根据排名设置透明度
            const opacity = 0.8 - (index * 0.065);
            return `rgba(76, 175, 80, ${opacity})`;
          });
          window.itemChartInstance.data.datasets[0].backgroundColor = backgroundColor;
          
          // 更新图表
          window.itemChartInstance.update();
        }
      }
      
      // 页面加载时初始化装备图表
      if (document.getElementById('itemChart')) {
        initItemChart();
      }
      
      // 简化版会员按钮处理 - 直接在页面底部执行
      (function() {
        // 添加调试信息
        console.log('会员按钮脚本初始化...');
        
        // 检查并恢复会员状态
        const savedMembership = localStorage.getItem('userMembership');
        if (savedMembership) {
          console.log('检测到已保存的会员状态:', savedMembership);
          // 显示会员内容解锁提示
          showMemberContent();
        }
        
        // 创建一个全局函数用于打开支付模态框
        window.openMembershipPayment = function(membershipType = '高级会员') {
          console.log('全局函数调用，会员类型:', membershipType);
          showPaymentModal(membershipType);
        };
        
        // 立即执行按钮绑定
        bindMembershipButtons();
        
        // 同时添加延迟绑定作为备份
        setTimeout(bindMembershipButtons, 1000);
        
        // 在页面加载完成时检查会员状态并显示相应内容
        window.addEventListener('load', function() {
          console.log('页面完全加载，检查会员状态');
          checkAndShowMembershipContent();
        });
        
        function bindMembershipButtons() {
          console.log('尝试绑定会员按钮...');
          const buttons = document.getElementsByTagName('button');
          let foundButtons = 0;
          
          for (let i = 0; i < buttons.length; i++) {
            const btn = buttons[i];
            const txt = (btn.textContent || btn.innerText || '').toLowerCase();
            
            if (txt.includes('立即开通') || txt.includes('升级会员')) {
              foundButtons++;
              console.log('找到会员按钮:', txt, '索引:', i);
              
              // 移除旧的事件监听器（如果有）
              const newBtn = btn.cloneNode(true);
              btn.parentNode.replaceChild(newBtn, btn);
              
              // 添加新的点击事件
              newBtn.onclick = function(event) {
                console.log('会员按钮被点击:', txt);
                // 阻止默认行为
                if (event) {
                  event.preventDefault();
                  event.stopPropagation();
                }
                
                // 获取会员类型
                let memberType = '高级会员';
                let parent = this;
                
                // 尝试多种方式获取会员类型
                for (let j = 0; j < 5; j++) { // 最多向上查找5层
                  parent = parent.parentNode;
                  if (!parent) break;
                  
                  // 查找包含会员信息的元素
                  const h3 = parent.querySelector('h3');
                  if (h3) {
                    memberType = h3.textContent;
                    console.log('找到会员类型:', memberType);
                    break;
                  }
                  
                  // 检查是否包含价格信息来推断会员等级
                  if (parent.textContent && parent.textContent.includes('¥19')) {
                    memberType = '基础会员';
                    console.log('通过价格推断会员类型: 基础会员');
                    break;
                  } else if (parent.textContent && parent.textContent.includes('¥69')) {
                    memberType = '大师会员';
                    console.log('通过价格推断会员类型: 大师会员');
                    break;
                  }
                }
                
                // 显示支付模态框
                showPaymentModal(memberType);
                return false;
              };
              
              // 添加视觉反馈
              newBtn.style.cursor = 'pointer';
              newBtn.style.transition = 'transform 0.2s';
              newBtn.onmouseover = function() {
                this.style.transform = 'scale(1.05)';
              };
              newBtn.onmouseout = function() {
                this.style.transform = 'scale(1)';
              };
            }
          }
          
          console.log('会员按钮绑定完成，找到', foundButtons, '个按钮');
          
          // 如果没找到按钮，尝试另一种方式
          if (foundButtons === 0) {
            console.log('尝试使用替代选择器...');
            
            // 直接为付费相关的容器添加点击事件
            const premiumSections = document.querySelectorAll('#premium, [id*="premium"], [class*="premium"]');
            premiumSections.forEach(section => {
              section.style.cursor = 'pointer';
              section.onclick = function(e) {
                // 只有当点击的不是内部链接或按钮时才触发
                if (!e.target.closest('a') && !e.target.closest('button')) {
                  console.log('点击了会员区域，打开默认支付界面');
                  showPaymentModal('高级会员');
                }
              };
            });
          }
        }
        
        // 检查会员状态并显示相应内容
        function checkAndShowMembershipContent() {
          const membership = localStorage.getItem('userMembership');
          if (membership) {
            console.log('会员已激活，类型:', membership);
            
            // 添加一个临时提示，让用户知道会员状态已激活
            showTemporaryMessage('欢迎回来，尊贵的' + membership + '！');
            
            // 立即调用showMemberContent函数显示会员内容
            showMemberContent(membership);
          } else {
            console.log('未检测到会员状态');
            // 隐藏会员专属内容
            const premiumContents = document.querySelectorAll('.premium-content, .vip-only, .member-only');
            premiumContents.forEach(content => {
              // 只隐藏非示例内容
              if (!content.classList.contains('demo-premium-content')) {
                content.style.display = 'none';
              }
            });
            
            // 移除会员标识
            const memberBadge = document.getElementById('member-badge');
            if (memberBadge) {
              memberBadge.remove();
            }
            
            // 移除会员快捷入口
            const quickAccess = document.getElementById('membership-quick-access');
            if (quickAccess) {
              quickAccess.remove();
            }
          }
        }
        
        // 显示临时消息函数
        function showTemporaryMessage(message) {
          // 先移除已存在的消息
          const existingMessage = document.getElementById('temporary-message');
          if (existingMessage) {
            existingMessage.remove();
          }
          
          // 创建新消息元素
          const messageDiv = document.createElement('div');
          messageDiv.id = 'temporary-message';
          messageDiv.textContent = message;
          messageDiv.style.position = 'fixed';
          messageDiv.style.top = '20px';
          messageDiv.style.left = '50%';
          messageDiv.style.transform = 'translateX(-50%)';
          messageDiv.style.backgroundColor = '#4CAF50';
          messageDiv.style.color = 'white';
          messageDiv.style.padding = '10px 20px';
          messageDiv.style.borderRadius = '5px';
          messageDiv.style.boxShadow = '0 2px 10px rgba(0,0,0,0.2)';
          messageDiv.style.zIndex = '9999';
          messageDiv.style.fontWeight = 'bold';
          
          // 添加到页面
          document.body.appendChild(messageDiv);
          
          // 3秒后自动移除
          setTimeout(() => {
            messageDiv.style.opacity = '0';
            messageDiv.style.transition = 'opacity 0.5s';
            setTimeout(() => {
              if (document.body.contains(messageDiv)) {
                document.body.removeChild(messageDiv);
              }
            }, 500);
          }, 3000);
        }
        
        // 显示会员专属内容
        function showMemberContent(membershipType = '高级会员') {
          console.log('显示会员专属内容，会员类型:', membershipType);
          
          // 寻找页面中的会员专属内容区域并解锁
          const premiumContents = document.querySelectorAll('.premium-content, .vip-only, .member-only');
          premiumContents.forEach(content => {
            console.log('解锁会员内容区域');
            content.style.display = 'block';
            content.style.opacity = '1';
            content.style.filter = 'blur(0px)';
            content.style.pointerEvents = 'auto';
            
            // 移除可能的锁定或遮罩元素
            const lockOverlay = content.querySelector('.lock-overlay, .premium-overlay');
            if (lockOverlay) {
              lockOverlay.remove();
            }
          });
          
          // 处理会员特权提示
          const premiumPrompt = document.querySelector('.premium-prompt');
          if (premiumPrompt) {
            premiumPrompt.textContent = `已解锁！尊贵的${membershipType}会员特权`;
            premiumPrompt.style.color = '#4CAF50';
            premiumPrompt.style.fontWeight = 'bold';
          }
          
          // 移除升级按钮和所有升级提示区域
          const upgradeElements = document.querySelectorAll('.upgrade-button, .premium-upgrade, .text-center.py-12, .text-gray-500.flex.flex-col.items-center');
          upgradeElements.forEach(element => {
            element.style.display = 'none';
          });
          
          // 赛季数据统计功能相关代码已删除
          
          // 处理会员专享内容预览区域
          const previewSections = document.querySelectorAll('.rounded-lg.overflow-hidden.relative');
          previewSections.forEach(section => {
            // 移除悬停效果和覆盖层
            const hoverOverlay = section.querySelector('.absolute.inset-0');
            if (hoverOverlay) {
              hoverOverlay.style.display = 'none';
            }
            
            // 移除锁图标
            const lockIcon = section.querySelector('i[class*="lock"]');
            if (lockIcon) {
              lockIcon.remove();
            }
            
            // 修改背景颜色和样式
            const contentDiv = section.querySelector('.aspect-video');
            if (contentDiv) {
              contentDiv.style.backgroundColor = '#e3f2fd';
              contentDiv.style.filter = 'grayscale(0)';
              contentDiv.style.opacity = '1';
            }
            
            // 修改文本颜色
            const textElement = section.querySelector('p.text-gray-500');
            if (textElement) {
              textElement.style.color = '#333';
            }
            
            // 添加解锁标记
            if (!section.querySelector('.unlocked-badge')) {
              const badgeContainer = section.querySelector('.aspect-video');
              if (badgeContainer) {
                const unlockedBadge = document.createElement('span');
                unlockedBadge.className = 'unlocked-badge';
                unlockedBadge.textContent = '✓ 已解锁';
                unlockedBadge.style.color = '#4CAF50';
                unlockedBadge.style.fontWeight = 'bold';
                unlockedBadge.style.marginLeft = '10px';
                badgeContainer.appendChild(unlockedBadge);
              }
            }
          });
          
          // 移除会员专享内容预览区域中的鼠标悬停效果类
          document.querySelectorAll('.hover-scale').forEach(element => {
            element.classList.remove('hover-scale');
          });
          
          // 在导航栏显示会员标识
          let memberBadge = document.getElementById('member-badge');
          if (!memberBadge) {
            memberBadge = document.createElement('div');
            memberBadge.id = 'member-badge';
            memberBadge.style.display = 'flex';
            memberBadge.style.alignItems = 'center';
            memberBadge.style.padding = '5px 10px';
            memberBadge.style.background = '#FFD700';
            memberBadge.style.color = '#333';
            memberBadge.style.borderRadius = '20px';
            memberBadge.style.fontSize = '12px';
            memberBadge.style.fontWeight = 'bold';
            memberBadge.style.marginLeft = '10px';
            
            // 尝试添加到导航栏或页面顶部
            const navbar = document.getElementById('navbar');
            if (navbar) {
              const navItems = navbar.querySelector('.nav-items, .navbar-nav, .main-menu');
              if (navItems) {
                navItems.appendChild(memberBadge);
              } else {
                navbar.appendChild(memberBadge);
              }
            } else {
              // 如果找不到导航栏，添加到body
              document.body.appendChild(memberBadge);
              memberBadge.style.position = 'fixed';
              memberBadge.style.top = '10px';
              memberBadge.style.right = '10px';
              memberBadge.style.zIndex = '9999';
            }
          }
          
          // 确保会员内容元素存在，如果不存在，创建一些示例内容
          if (document.querySelectorAll('.premium-content, .vip-only, .member-only').length === 0) {
            console.log('未找到会员专属内容区域，创建示例内容');
            const mainContent = document.querySelector('main') || document.body;
            
            // 创建一个可见的会员示例区域
            const demoPremiumContent = document.createElement('div');
            demoPremiumContent.className = 'premium-content';
            demoPremiumContent.style.margin = '30px 0';
            demoPremiumContent.style.padding = '20px';
            demoPremiumContent.style.background = 'linear-gradient(135deg, #FFD700 0%, #FFC107 100%)';
            demoPremiumContent.style.color = 'white';
            demoPremiumContent.style.borderRadius = '10px';
            demoPremiumContent.style.textAlign = 'center';
            demoPremiumContent.innerHTML = `
              <h2>🎉 会员专享内容已解锁！</h2>
              <p>作为尊贵的${membershipType}，您现在可以访问所有会员独家内容。</p>
              <p>包括最新T0阵容搭配、全赛季数据和职业选手教程。</p>
            `;
            
            mainContent.appendChild(demoPremiumContent);
          }
          
          memberBadge.innerHTML = `
            <i class="fa fa-crown" style="margin-right: 5px;"></i>
            ${membershipType}
          `;
          
          // 创建会员功能快捷入口
          let quickAccess = document.getElementById('membership-quick-access');
          if (!quickAccess) {
            quickAccess = document.createElement('div');
            quickAccess.id = 'membership-quick-access';
            quickAccess.style.position = 'fixed';
            quickAccess.style.top = '50%';
            quickAccess.style.right = '20px';
            quickAccess.style.transform = 'translateY(-50%)';
            quickAccess.style.zIndex = '999';
            quickAccess.style.background = 'white';
            quickAccess.style.borderRadius = '10px';
            quickAccess.style.boxShadow = '0 4px 20px rgba(0,0,0,0.15)';
            quickAccess.style.padding = '10px';
            document.body.appendChild(quickAccess);
          }
          
          quickAccess.innerHTML = `
            <div style="display: flex; flex-direction: column; gap: 10px; align-items: center;">
              <div style="font-weight: bold; color: #8B4513; text-align: center; margin-bottom: 5px;">会员专区</div>
              <button onclick="showMembershipPage('${membershipType}')" style="padding: 8px 15px; background: #FFD700; color: #333; border: none; border-radius: 5px; cursor: pointer; width: 100%;">
                📊 赛季数据
              </button>
              <button onclick="showMembershipPage('${membershipType}')" style="padding: 8px 15px; background: #FFD700; color: #333; border: none; border-radius: 5px; cursor: pointer; width: 100%;">
                🎓 实战视频
              </button>
              <button onclick="showMembershipPage('${membershipType}')" style="padding: 8px 15px; background: #FFD700; color: #333; border: none; border-radius: 5px; cursor: pointer; width: 100%;">
                📈 数据分析
              </button>
            </div>
          `;
        }
        
        // 将函数暴露到全局，以便其他地方可以调用
        window.checkAndShowMembershipContent = checkAndShowMembershipContent;
      })();
      
      // 简单的支付模态框函数
      function showPaymentModal(membershipType) {
        console.log('显示支付模态框，会员类型:', membershipType);
        
        // 先移除已存在的模态框（如果有）
        const existingModal = document.getElementById('simple-payment-modal');
        if (existingModal) {
          existingModal.remove();
        }
        
        // 创建模态框容器
        const modal = document.createElement('div');
        modal.id = 'simple-payment-modal';
        modal.style.position = 'fixed';
        modal.style.top = '0';
        modal.style.left = '0';
        modal.style.width = '100%';
        modal.style.height = '100%';
        modal.style.backgroundColor = 'rgba(0, 0, 0, 0.8)';
        modal.style.zIndex = '9999';
        modal.style.display = 'flex';
        modal.style.justifyContent = 'center';
        modal.style.alignItems = 'center';
        modal.style.padding = '20px';
        modal.style.boxSizing = 'border-box';
        
        // 创建模态框内容
        const content = document.createElement('div');
        content.style.backgroundColor = 'white';
        content.style.borderRadius = '15px';
        content.style.padding = '30px';
        content.style.maxWidth = '500px';
        content.style.width = '100%';
        content.style.boxShadow = '0 10px 30px rgba(0, 0, 0, 0.2)';
        content.style.position = 'relative';
        
        // 模态框HTML内容
        content.innerHTML = `
          <div style="text-align: center;">
            <h2 style="color: #333; margin-bottom: 25px; font-size: 24px;">开通 ${membershipType}</h2>
            
            <!-- 支付方式 -->
            <div style="margin-bottom: 25px;">
              <h3 style="text-align: left; margin-bottom: 15px; color: #555;">选择支付方式</h3>
              <div style="display: flex; gap: 10px;">
                <button class="pay-option" style="flex: 1; padding: 15px; background: #FFD700; color: #333; border: none; border-radius: 8px; font-weight: bold; cursor: pointer;">微信支付</button>
                <button class="pay-option" style="flex: 1; padding: 15px; background: #f5f5f5; color: #333; border: none; border-radius: 8px; font-weight: bold; cursor: pointer;">支付宝</button>
                <button class="pay-option" style="flex: 1; padding: 15px; background: #f5f5f5; color: #333; border: none; border-radius: 8px; font-weight: bold; cursor: pointer;">银行卡</button>
              </div>
            </div>
            
            <!-- 套餐选择 -->
            <div style="margin-bottom: 25px;">
              <h3 style="text-align: left; margin-bottom: 15px; color: #555;">选择套餐</h3>
              <div style="display: flex; flex-direction: column; gap: 12px;">
                <label style="display: flex; align-items: center; padding: 15px; background: #f5f5f5; border-radius: 8px; cursor: pointer;">
                  <input type="radio" name="plan" value="monthly" checked style="margin-right: 10px;" /> 月付 - ${membershipType.includes('基础') ? '¥19' : membershipType.includes('高级') ? '¥39' : '¥69'}/月
                </label>
                <label style="display: flex; align-items: center; padding: 15px; background: #f5f5f5; border-radius: 8px; cursor: pointer;">
                  <input type="radio" name="plan" value="quarterly" style="margin-right: 10px;" /> 季付 - 省15% - ¥${membershipType.includes('基础') ? '48' : membershipType.includes('高级') ? '99' : '175'}/季度
                </label>
                <label style="display: flex; align-items: center; padding: 15px; background: #f5f5f5; border-radius: 8px; cursor: pointer;">
                  <input type="radio" name="plan" value="yearly" style="margin-right: 10px;" /> 年付 - 省30% - ¥${membershipType.includes('基础') ? '156' : membershipType.includes('高级') ? '328' : '570'}/年
                </label>
              </div>
            </div>
            
            <!-- 支付按钮 -->
            <button id="pay-now-btn" style="width: 100%; padding: 18px; background: #FFD700; color: #333; border: none; border-radius: 8px; font-size: 18px; font-weight: bold; cursor: pointer;">确认支付</button>
          </div>
          <!-- 关闭按钮 -->
          <button id="close-modal-btn" style="position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; color: #999; cursor: pointer;">×</button>
        `;
        
        // 添加到页面
        modal.appendChild(content);
        document.body.appendChild(modal);
        
        // 支付方式选择
        const payOptions = document.querySelectorAll('.pay-option');
        payOptions.forEach(option => {
          option.onclick = function() {
            payOptions.forEach(opt => opt.style.backgroundColor = '#f5f5f5');
            this.style.backgroundColor = '#FFD700';
          };
        });
        
        // 关闭按钮
        document.getElementById('close-modal-btn').onclick = function() {
          document.body.removeChild(modal);
        };
        
        // 确认支付
        document.getElementById('pay-now-btn').onclick = function() {
          // 保存会员状态到localStorage
          localStorage.setItem('userMembership', membershipType);
          console.log('会员状态已保存到localStorage:', membershipType);
          
          // 关闭模态框
          document.body.removeChild(modal);
          
          // 显示成功提示
          const successToast = document.createElement('div');
          successToast.style.position = 'fixed';
          successToast.style.top = '20px';
          successToast.style.left = '50%';
          successToast.style.transform = 'translateX(-50%)';
          successToast.style.backgroundColor = '#4CAF50';
          successToast.style.color = 'white';
          successToast.style.padding = '15px 30px';
          successToast.style.borderRadius = '5px';
          successToast.style.zIndex = '10000';
          successToast.style.boxShadow = '0 4px 12px rgba(0,0,0,0.15)';
          successToast.textContent = `恭喜您成功开通${membershipType}！`;
          document.body.appendChild(successToast);
          
          // 3秒后移除提示
          setTimeout(() => {
            successToast.style.opacity = '0';
            successToast.style.transition = 'opacity 0.5s';
            setTimeout(() => {
              document.body.removeChild(successToast);
            }, 500);
          }, 3000);
          
          // 显示会员页面
          showMembershipPage(membershipType);
          
          // 同时在主页面显示会员内容
          showMemberContent(membershipType);
        };
        
        // 点击模态框外部关闭
        modal.onclick = function(e) {
          if (e.target === modal) {
            document.body.removeChild(modal);
          }
        };
        
        console.log('支付模态框已显示');
      }
      
      // 会员页面函数
      function showMembershipPage(membershipType) {
        console.log('显示会员页面，类型:', membershipType);
        
        // 保存当前会员类型（如果是从支付成功后过来的，可能已经保存过了）
        if (!localStorage.getItem('userMembership')) {
          localStorage.setItem('userMembership', membershipType);
          console.log('会员类型已保存:', membershipType);
        }
        
        // 创建会员页面
        const memberPage = document.createElement('div');
        memberPage.style.position = 'fixed';
        memberPage.style.top = '0';
        memberPage.style.left = '0';
        memberPage.style.width = '100%';
        memberPage.style.height = '100%';
        memberPage.style.backgroundColor = 'white';
        memberPage.style.zIndex = '10000';
        memberPage.style.overflowY = 'auto';
        memberPage.style.padding = '20px';
        memberPage.style.boxSizing = 'border-box';
        
        // 会员页面内容
        memberPage.innerHTML = `
          <div style="max-width: 1200px; margin: 0 auto;">
            <!-- 头部 -->
            <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px;">
              <button id="exit-member-btn" style="background: none; border: none; font-size: 18px; font-weight: bold; color: #8B4513; cursor: pointer;">
                &larr; 返回网站
              </button>
              <div style="display: flex; align-items: center;">
                <div style="margin-right: 15px;">
                  <div style="font-size: 14px; color: #666;">尊贵的${membershipType}</div>
                  <div style="font-weight: bold;">金铲铲玩家</div>
                </div>
                <div style="width: 50px; height: 50px; background: #FFD700; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; color: #333;">
                  <i class="fa fa-crown"></i>
                </div>
              </div>
            </div>
            
            <!-- 会员卡片 -->
            <div style="background: linear-gradient(90deg, rgba(255,215,0,0.2), rgba(139,69,19,0.2)); border-radius: 12px; padding: 25px; margin-bottom: 30px;">
              <h2 style="color: #333; margin-bottom: 15px;">会员权益</h2>
              <div style="display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;">
                <div style="flex: 1; min-width: 200px; background: white; padding: 20px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);">
                  <h3 style="color: #FFD700; margin-bottom: 10px;">🎯 独家阵容</h3>
                  <p style="color: #666;">获取最新T0阵容搭配和运营思路</p>
                </div>
                <div style="flex: 1; min-width: 200px; background: white; padding: 20px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);">
                  <h3 style="color: #FFD700; margin-bottom: 10px;">📊 全赛季数据</h3>
                  <p style="color: #666;">访问S1-S15所有赛季的英雄和装备登顶率</p>
                </div>
                <div style="flex: 1; min-width: 200px; background: white; padding: 20px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);">
                  <h3 style="color: #FFD700; margin-bottom: 10px;">🎓 视频教程</h3>
                  <p style="color: #666;">观看职业选手的进阶操作教学</p>
                </div>
              </div>
            </div>
            
            <!-- 赛季数据访问功能已移除 -->
          </div>
        `;
        
        // 添加到页面
        document.body.appendChild(memberPage);
        
        // 隐藏原始网站内容，以便返回时能正确恢复
        const originalContent = document.body.children;
        const hiddenElements = [];
        
        // 记录并隐藏原始内容
        for (let i = 0; i < originalContent.length - 1; i++) { // 不隐藏刚刚添加的会员页面
          if (originalContent[i].tagName.toLowerCase() !== 'script' && 
              originalContent[i].id !== 'test-membership-btn' && 
              !originalContent[i].contains(document.getElementById('test-membership-btn'))) {
            hiddenElements.push({element: originalContent[i], display: originalContent[i].style.display});
            originalContent[i].style.display = 'none';
          }
        }
        
        // 退出按钮 - 改进返回网站功能
        document.getElementById('exit-member-btn').onclick = function() {
          console.log('返回网站按钮被点击，恢复原始内容');
          
          // 恢复原始内容显示
          hiddenElements.forEach(item => {
            item.element.style.display = item.display;
          });
          
          // 移除会员页面
          document.body.removeChild(memberPage);
          
          // 确保主页面上的会员内容可见
          checkAndShowMembershipContent();
        };
        
        // 赛季相关功能已完全移除
        
        // 所有赛季相关功能已完全移除
        
        console.log('会员页面已显示');
      }
      
      // 将函数暴露到全局
      window.showMembershipPage = showMembershipPage;
      
      // 导航栏滚动效果
      const navbar = document.getElementById('navbar');

      window.addEventListener('scroll', () => {
        if (window.scrollY > 50) {
          navbar.classList.add('py-2', 'shadow-lg');
          navbar.classList.remove('py-3', 'shadow-md');
        } else {
          navbar.classList.add('py-3', 'shadow-md');
          navbar.classList.remove('py-2', 'shadow-lg');
        }
      });

      // 移动端菜单切换
      const menuToggle = document.getElementById('menu-toggle');
      const mobileMenu = document.getElementById('mobile-menu');
      menuToggle.addEventListener('click', () => {
        mobileMenu.classList.toggle('hidden');
        if (mobileMenu.classList.contains('hidden')) {
          menuToggle.innerHTML = '<i class="fa fa-bars"></i>';
        } else {
          menuToggle.innerHTML = '<i class="fa fa-times"></i>';
        }
      });

      // 平滑滚动
      document.querySelectorAll('a[href^="#"]').forEach(anchor => {
        anchor.addEventListener('click', function (e) {
          e.preventDefault();
          const targetId = this.getAttribute('href');
          const targetElement = document.querySelector(targetId);
          if (targetElement) {
            window.scrollTo({
              top: targetElement.offsetTop - 80,
              behavior: 'smooth'
            });
            // 关闭移动菜单
            if (!mobileMenu.classList.contains('hidden')) {
              mobileMenu.classList.add('hidden');
              menuToggle.innerHTML = '<i class="fa fa-bars"></i>';
            }
          }
        });
      });

      // FAQ 切换
      const faqItems = document.querySelectorAll('.faq-item');
      faqItems.forEach(item => {
        const question = item.querySelector('.faq-question');
        const answer = item.querySelector('.faq-answer');
        const icon = question.querySelector('i');
        
        question.addEventListener('click', () => {
          answer.classList.toggle('hidden');
          icon.classList.toggle('rotate-180');
        });
      });

      // 返回顶部按钮
      const backToTopButton = document.getElementById('back-to-top');
      window.addEventListener('scroll', () => {
        if (window.scrollY > 300) {
          backToTopButton.classList.remove('opacity-0', 'invisible');
          backToTopButton.classList.add('opacity-100', 'visible');
        } else {
          backToTopButton.classList.add('opacity-0', 'invisible');
          backToTopButton.classList.remove('opacity-100', 'visible');
        }
      });
      
      backToTopButton.addEventListener('click', () => {
        window.scrollTo({
          top: 0,
          behavior: 'smooth'
        });
      });

      // 经济管理图表
      const ctx = document.getElementById('economyChart').getContext('2d');
      const economyChart = new Chart(ctx, {
        type: 'line',
        data: {
          labels: ['1-1', '1-2', '1-3', '2-1', '2-2', '2-3', '3-1', '3-2', '3-3', '4-1', '4-2', '4-3', '5-1'],
          datasets: [
            {
              label: '连胜运营',
              data: [10, 10, 12, 15, 20, 25, 30, 32, 35, 40, 45, 50, 55],
              borderColor: '#E6B325',
              backgroundColor: 'rgba(230, 179, 37, 0.1)',
              tension: 0.3,
              fill: true
            },
            {
              label: '连败运营',
              data: [10, 10, 14, 20, 26, 32, 34, 36, 40, 45, 50, 55, 60],
              borderColor: '#5D4037',
              backgroundColor: 'rgba(93, 64, 55, 0.1)',
              tension: 0.3,
              fill: true
            },
            {
              label: '速拉人口',
              data: [10, 10, 11, 12, 14, 15, 17, 19, 22, 25, 30, 35, 40],
              borderColor: '#FF5722',
              backgroundColor: 'rgba(255, 87, 34, 0.1)',
              tension: 0.3,
              fill: true
            }
          ]
        },
        options: {
          responsive: true,
          maintainAspectRatio: false,
          plugins: {
            legend: {
              position: 'top',
            },
            tooltip: {
              mode: 'index',
              intersect: false,
            }
          },
          scales: {
            y: {
              beginAtZero: true,
              title: {
                display: true,
                text: '金币数量'
              }
            },
            x: {
              title: {
                display: true,
                text: '游戏阶段'
              }
            }
          }
        }
      });

      // 表单提交
      const form = document.querySelector('form');
      if (form) {
        form.addEventListener('submit', (e) => {
          e.preventDefault();
          const emailInput = form.querySelector('input[type="email"]');
          if (emailInput.value) {
            alert('订阅成功！我们会定期发送最新的游戏攻略到你的邮箱。');
            emailInput.value = '';
          } else {
            alert('请输入有效的邮箱地址');
          }
        });
      }
    </script>
  <!-- 测试按钮 - 用于验证会员功能 -->
        <div style="position: fixed; bottom: 20px; right: 20px; z-index: 1000;">
            <div style="display: flex; flex-direction: column; gap: 10px;">
                <button id="test-membership-btn" style="padding: 10px 20px; background: #FFD700; color: #333; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; box-shadow: 0 2px 10px rgba(0,0,0,0.2);">
                    测试支付流程
                </button>
                <button id="simulate-member-btn" style="padding: 10px 20px; background: #4CAF50; color: white; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; box-shadow: 0 2px 10px rgba(0,0,0,0.2);">
                    模拟开通会员
                </button>
                <button id="clear-member-btn" style="padding: 10px 20px; background: #f44336; color: white; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; box-shadow: 0 2px 10px rgba(0,0,0,0.2);">
                    清除会员状态
                </button>
            </div>
        </div>
        <script>
            // 测试按钮点击事件
            document.getElementById('test-membership-btn').onclick = function() {
                console.log('测试按钮被点击，直接调用支付模态框');
                window.openMembershipPayment('高级会员');
            };
            
            // 模拟开通会员按钮
            document.getElementById('simulate-member-btn').onclick = function() {
                console.log('模拟开通会员');
                localStorage.setItem('userMembership', '高级会员');
                alert('会员状态已设置，刷新页面查看效果');
                // 立即显示会员内容
                checkAndShowMembershipContent();
            };
            
            // 清除会员状态按钮
            document.getElementById('clear-member-btn').onclick = function() {
                console.log('清除会员状态');
                localStorage.removeItem('userMembership');
                alert('会员状态已清除，刷新页面查看效果');
                window.location.reload();
            };
            
            // 页面加载完成提示
            window.addEventListener('load', function() {
                console.log('页面加载完成，会员功能已初始化');
                console.log('可点击右下角测试按钮验证功能，或直接点击页面上的会员开通按钮');
                // 页面加载时自动检查会员状态
                checkAndShowMembershipContent();
                
                // 设置陪玩预约日期选择器的最小日期为今天
                const today = new Date().toISOString().split('T')[0];
                const dateInput = document.getElementById('companion-date');
                if (dateInput) {
                    dateInput.min = today;
                    dateInput.value = today; // 默认选择今天
                }
            });
            
            // 陪玩预约相关函数
            function openCompanionModal(tutorName, tutorRank, tutorSkills) {
                // 检查会员状态
                const membership = localStorage.getItem('userMembership');
                if (!membership) {
                    alert('请先开通会员以使用陪玩服务');
                    return;
                }
                
                // 填充模态框内容
                document.getElementById('modal-tutor-name').textContent = tutorName;
                document.getElementById('modal-tutor-rank').textContent = tutorRank;
                document.getElementById('modal-tutor-skills').textContent = tutorSkills;
                
                // 计算会员折扣价格
                calculateCompanionPrice();
                
                // 显示模态框
                document.getElementById('companion-modal').style.display = 'flex';
            }
            
            function closeCompanionModal() {
                document.getElementById('companion-modal').style.display = 'none';
            }
            
            function calculateCompanionPrice() {
                const membership = localStorage.getItem('userMembership');
                const hours = document.getElementById('companion-hours').value;
                const basePrice = 128; // 基础价格/小时
                let discount = 1;
                
                // 根据会员等级设置折扣
                if (membership === '基础会员') {
                    discount = 0.9;
                } else if (membership === '高级会员') {
                    discount = 0.8;
                } else if (membership === '大师会员') {
                    discount = 0.7;
                }
                
                const totalPrice = (basePrice * hours * discount).toFixed(2);
                document.getElementById('companion-price').textContent = totalPrice;
                document.getElementById('companion-discount').textContent = `${(discount * 10).toFixed(0)}折`;
            }
            
            function submitCompanionBooking() {
                const tutorName = document.getElementById('modal-tutor-name').textContent;
                const hours = document.getElementById('companion-hours').value;
                const date = document.getElementById('companion-date').value;
                const time = document.getElementById('companion-time').value;
                const specialRequest = document.getElementById('companion-request').value;
                
                if (!date || !time) {
                    alert('请选择预约日期和时间');
                    return;
                }
                
                // 模拟预约提交
                console.log('预约信息:', {
                    tutorName,
                    hours,
                    date,
                    time,
                    specialRequest
                });
                
                alert('预约成功！我们将通过短信确认您的预约信息。');
                closeCompanionModal();
            }
        </script>
        <!-- 陪玩预约模态框 -->
        <div id="companion-modal" class="fixed inset-0 bg-black/50 flex items-center justify-center z-50" style="display: none;">
            <div class="bg-white rounded-xl w-full max-w-2xl max-h-[90vh] overflow-y-auto">
                <div class="p-6 border-b border-gray-200">
                    <div class="flex justify-between items-center">
                        <h3 class="text-2xl font-bold">预约陪玩服务</h3>
                        <button onclick="closeCompanionModal()" class="text-gray-400 hover:text-gray-600 text-xl">
                            <i class="fa fa-times"></i>
                        </button>
                    </div>
                </div>
                
                <div class="p-6">
                    <!-- 导师信息 -->
                    <div class="bg-gray-50 p-4 rounded-lg mb-6">
                        <div class="flex items-center">
                            <div class="w-16 h-16 rounded-full bg-gray-300 overflow-hidden mr-4">
                                <img src="https://picsum.photos/200/200?random=1" alt="导师头像" class="w-full h-full object-cover">
                            </div>
                            <div>
                                <h4 id="modal-tutor-name" class="font-bold text-xl"></h4>
                                <div class="flex items-center mt-1">
                                    <span id="modal-tutor-rank" class="bg-primary/10 text-primary px-2 py-1 rounded text-sm mr-2"></span>
                                    <span id="modal-tutor-skills" class="text-gray-600 text-sm"></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 预约表单 -->
                    <div class="space-y-4">
                        <div>
                            <label class="block text-gray-700 font-medium mb-1">服务时长</label>
                            <select id="companion-hours" class="w-full p-2 border border-gray-300 rounded-lg" onchange="calculateCompanionPrice()">
                                <option value="1">1小时</option>
                                <option value="2">2小时</option>
                                <option value="3">3小时</option>
                                <option value="5">5小时</option>
                                <option value="10">10小时套餐</option>
                            </select>
                        </div>
                        
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                            <div>
                                <label class="block text-gray-700 font-medium mb-1">预约日期</label>
                                <input type="date" id="companion-date" class="w-full p-2 border border-gray-300 rounded-lg" min="">
                            </div>
                            <div>
                                <label class="block text-gray-700 font-medium mb-1">预约时间</label>
                                <input type="time" id="companion-time" class="w-full p-2 border border-gray-300 rounded-lg">
                            </div>
                        </div>
                        
                        <div>
                            <label class="block text-gray-700 font-medium mb-1">特殊要求（可选）</label>
                            <textarea id="companion-request" rows="3" class="w-full p-2 border border-gray-300 rounded-lg" placeholder="请输入您的特殊要求或学习重点..."></textarea>
                        </div>
                        
                        <!-- 价格信息 -->
                        <div class="bg-primary/5 p-4 rounded-lg">
                            <div class="flex justify-between items-center mb-2">
                                <span class="text-gray-700">服务价格</span>
                                <span class="font-bold">¥128/小时</span>
                            </div>
                            <div class="flex justify-between items-center mb-2">
                                <span class="text-gray-700">会员折扣</span>
                                <span class="text-green-600 font-bold" id="companion-discount">10折</span>
                            </div>
                            <div class="flex justify-between items-center text-lg font-bold pt-2 border-t border-gray-200">
                                <span>总计</span>
                                <span class="text-red-600">¥<span id="companion-price">128.00</span></span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="p-6 border-t border-gray-200 flex justify-end space-x-4">
                    <button onclick="closeCompanionModal()" class="px-6 py-2 border border-gray-300 rounded-lg text-gray-700 font-medium">
                        取消
                    </button>
                    <button onclick="submitCompanionBooking()" class="px-6 py-2 bg-primary text-dark font-bold rounded-lg">
                        确认预约
                    </button>
                </div>
            </div>
        </div>
    </body>
</html>
